diff --git a/webrtc/tools/rtcbot/test.js b/webrtc/tools/rtcbot/test.js index 1768c09175..c1db4fc0eb 100644 --- a/webrtc/tools/rtcbot/test.js +++ b/webrtc/tools/rtcbot/test.js @@ -30,7 +30,7 @@ Test.prototype = { }, abort: function (error) { - var error = error || new Error("Test aborted"); + var error = new Error(error || "Test aborted"); console.log(error.stack); process.exit(1); },