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 bca59a217c
commit cb65ed9336

View File

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