vermiculus / magithub

**DEPRECATED - please use Forge instead!** -- Magit-based interfaces to GitHub
GNU General Public License v3.0
579 stars 63 forks source link

Don't use debugging advice by default #333

Closed tarsius closed 5 years ago

tarsius commented 6 years ago

This line in magithub-core.el is probably a leftover and should be removed.

(advice-add #'ghub-request :around #'magithub-debug--ghub-request-wrapper)

As a side-note, that advice was pretty confusing when first running into it when debugging a bug in ghub itself, so I am currently removing it in my init file.

vermiculus commented 6 years ago

It wasn't unintentional; what problems is it causing?

tarsius commented 6 years ago

If a user reports a bug report against ghub or magit and has magithub loaded too, then the backtrace contains unrelated things, which makes it harder to figure out if the bug is in my code or not.

vermiculus commented 6 years ago

Would it be helpful if this were relegated to a command like magithub-instrument-for-debugging?

tarsius commented 6 years ago

Yes that would be great.

tarsius commented 5 years ago

Ping.

(I'll try to respond to your email soon.)

vermiculus commented 5 years ago

Thanks for the ping :-)