Bug 863185 - Define variable in order to use it, r=dburns

This commit is contained in:
Jonathan Griffin 2013-04-18 03:04:13 -07:00
parent 44dd948494
commit 47bf8f7b40

View File

@ -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);
} }
} }