Include stack of window state parse errors in CI build output

This commit is contained in:
Nathan Sobo
2013-12-18 13:10:25 -07:00
parent 6b750c82ca
commit 76922c2d46

View File

@@ -65,7 +65,7 @@ class Atom extends Model
try
JSON.parse(documentStateString) if documentStateString?
catch error
console.warn "Error parsing window state: #{statePath}", error.stack, error
console.warn "Error parsing window state: #{statePath} #{error.stack}", error
# Private: Returns the path where the state for the current window will be
# located if it exists.