https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43517

--- Comment #19 from Matt Blenkinsop <[email protected]> ---
Created attachment 206625
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206625&action=edit
Bug 43517: (QA follow-up) Restore debug console output in console.warn/log
hooks

Bug 41129's comment in this file explains that a thrown console.warn can be
silently swallowed by app-level try/catch (as flatpickr did), losing the
thrown message entirely. Logging the raw args unconditionally was the only
remaining trace in that case, but got dropped when the hooks moved into
console-hooks.js. Restore it (as console.error, since the repo's pre-commit
hook rejects console.log), and mirror it in the DataTables warning branch
for consistency.

Signed-off-by: Martin Renvoize <[email protected]>

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Signed-off-by: Matt Blenkinsop <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to