1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-08-14 20:41:01 +01:00

Adjust error handling / tests.

This commit is contained in:
hacksalot
2016-02-01 22:56:08 -05:00
parent 70f45d468d
commit fd39cc9fd9
10 changed files with 34 additions and 23 deletions

View File

@@ -64,7 +64,8 @@ Verb = module.exports = Class.extend
payload.throw = hot
@setError errorCode, payload
if payload.quit
@reject payload
console.log payload
@reject errorCode
@fire 'error', payload
if hot
throw payload