mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 863185 - Define variable in order to use it, r=dburns
This commit is contained in:
parent
bca59a217c
commit
cb65ed9336
@ -262,7 +262,7 @@ MarionetteDriverActor.prototype = {
|
||||
default:
|
||||
break;
|
||||
}
|
||||
code = error.hasOwnProperty('code') ? e.code : 500;
|
||||
let code = error.hasOwnProperty('code') ? e.code : 500;
|
||||
this.sendError(error.toString(), code, error.stack, commandId);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user