mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 863185 - Define variable in order to use it, r=dburns
This commit is contained in:
parent
44dd948494
commit
47bf8f7b40
@ -262,7 +262,7 @@ MarionetteDriverActor.prototype = {
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
code = error.hasOwnProperty('code') ? e.code : 500;
|
let code = error.hasOwnProperty('code') ? e.code : 500;
|
||||||
this.sendError(error.toString(), code, error.stack, commandId);
|
this.sendError(error.toString(), code, error.stack, commandId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user