Bug 1581232 - Log important errors to stdout. r=bhackett
authorJason Laster <jlaster@mozilla.com>
Fri, 20 Sep 2019 01:16:02 +0000
changeset 494340 fe7128089ead96cc4e2d94e64b04b46e873f9dfc
parent 494339 899aa346b320a180dca88be1485f19cee20d50c4
child 494341 5c1a03740544581cb6bc3eea84e170c1bd0eca6d
push id95971
push userjlaster@mozilla.com
push dateFri, 20 Sep 2019 23:19:57 +0000
treeherderautoland@fe7128089ead [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbhackett
bugs1581232
milestone71.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1581232 - Log important errors to stdout. r=bhackett Differential Revision: https://phabricator.services.mozilla.com/D46533
devtools/server/actors/thread.js
--- a/devtools/server/actors/thread.js
+++ b/devtools/server/actors/thread.js
@@ -1732,17 +1732,17 @@ const ThreadActor = ActorClassWithSpec(t
    * A function that the engine calls when a call to a debug event hook,
    * breakpoint handler, watchpoint handler, or similar function throws some
    * exception.
    *
    * @param exception exception
    *        The exception that was thrown in the debugger code.
    */
   uncaughtExceptionHook: function(exception) {
-    dumpn("Got an exception: " + exception.message + "\n" + exception.stack);
+    dump("Got an exception: " + exception.message + "\n" + exception.stack);
   },
 
   pauseForMutationBreakpoint: function(mutationType) {
     if (
       !["subtreeModified", "nodeRemoved", "attributeModified"].includes(
         mutationType
       )
     ) {