Closed Bug 877274 Opened 8 years ago Closed 8 years ago
.exception to Console .jsm
It's used by addon-sdk.
Does console.error(exception) get a stack trace and everything? Is it reasonable to just make console.exception an alias to that?
Blocks remote inspector, a module the remote inspector uses tries to console.exception sometimes.
(In reply to Dave Camp (:dcamp) from comment #1) > Does console.error(exception) get a stack trace and everything? Is it > reasonable to just make console.exception an alias to that? I think making console.exception an alias of console.error makes sense at this point - since it is blocking the remote inspector. console.error shows a stack trace only if the .stack property is available and only if the (poor) logic in Console.jsm can detect if the said object is an actual exception/error.
Updated a comment as an added bonus.
hrm, we should probably just use "error" as the log level, shouldn't we.
Comment on attachment 756685 [details] [diff] [review] v2 Thank you!
Attachment #756685 - Flags: review?(mihai.sucan) → review+
Assignee: nobody → dcamp
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 24
You need to log in before you can comment on or make changes to this bug.