Closed jesus2099 closed 9 months ago
I changed the output from warning to debug.
Additionally maybe if you could add a
const DEBUG = false
and debug only when you locally set it totrue
, could be a bonus.
You can disable debug logging in the browser console. That's much easier then having to go into a script and set a variable to false. Also if you really want to not log this at all and edit the script anyway you can also disable the debug line completely.
Thank you very very much! 😁👍
Because of this line:
https://github.com/phw/musicbrainz-magic-tagger-button/blob/77c491aee301447ced341aba19d850e749a40869/mb-magic-tagger-button.user.js#L119
I get my JavaScript console cluttered by 11 big fake errors on each MB page loading. Tt is making my userscript dev life not easy. I have commented out this line in the meantime.
The userscript not finding MusicBrainz Picard is part of the normal behaviour of the script, it should be in debug level, and should not appear in console, with default settings (not showing debug level). I say
debug
, notlog
because it is big and 11 times per page. :)Additionally maybe if you could add a
const DEBUG = false
and debug only when you locally set it totrue
, could be a bonus.Sorry no PR because I don't know
Promise
.