Don't pollute console with error stack.
This commit is contained in:
parent
738cbd4080
commit
db890feb51
1 changed files with 1 additions and 2 deletions
|
@ -31,8 +31,7 @@ metaToValue = (meta) ->
|
||||||
when 'value' then meta.value
|
when 'value' then meta.value
|
||||||
when 'array' then (metaToValue(el) for el in meta.members)
|
when 'array' then (metaToValue(el) for el in meta.members)
|
||||||
when 'error'
|
when 'error'
|
||||||
console.log meta.stack
|
throw new Error("#{meta.message}\n#{meta.stack}")
|
||||||
throw new Error(meta.message)
|
|
||||||
else
|
else
|
||||||
if meta.type is 'function'
|
if meta.type is 'function'
|
||||||
# A shadow class to represent the remote function object.
|
# A shadow class to represent the remote function object.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue