Closed
Bug 1536854
Opened 5 years ago
Closed 5 years ago
Log errors from Logpoint as actual errors, not strings
Categories
(DevTools :: Debugger, enhancement, P2)
DevTools
Debugger
Tracking
(firefox69 fixed)
RESOLVED
FIXED
Firefox 69
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: Harald, Assigned: chujunlu)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
What were you doing?
Add a log point and log a non-existing variable.
What happened?
x is not defined
string is being logged.
What should had happened?
ReferenceError: x is not defined
should be logged as error.
Anything else we should know?
state
in the example screenshot isn't defined because the source is source-mapped and the variable name mangled. The error from the console.log
is how it should actually look like
Updated•5 years ago
|
Priority: -- → P2
If logpoint throws, set level
to "error".
Add tests to ensure the correct level is set.
Updated•5 years ago
|
Assignee: nobody → chujunlu
Pushed by dwalsh@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b275b465d1f1 Log errors from logpoint as actual errors in the console r=davidwalsh,nchevobbe
Comment 3•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox69:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 69
You need to log in
before you can comment on or make changes to this bug.
Description
•