Skip to content

Commit b9d675c

Browse files
committed
Update error logging
1 parent d45c20b commit b9d675c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/har-driver-actor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ function ExportDriverApi(actor) {
281281
pref + "' pref to match the string token passed into " +
282282
"HAR object API call (browser restart is required)";
283283
Cu.reportError(msg);
284-
return win.Promise.reject(new win.Error(msg));
284+
return win.Promise.reject(msg);
285285
}
286286

287287
try {

0 commit comments

Comments
 (0)