Closed kaero closed 9 years ago
@narqo I think we can test it in the wild and release if no issues were found.
Minor issue: if nested error is not an instance of Terror, then undefined
prepends its error message in the full stack:
>>>>> undefined SyntaxError: Unexpected token var
The instance of Error has no the property code
.
:up:
undefined
which prepends messages of non-terror errors in the full stackObject#hasOwnProperty
reduced to has.call(..)
I've used 1.2.0-rc2
in the dev for app, which uses 1.1.0
and everything looks fine, except undefined
in the messages, which i have fixed in 6be8ba3
looks good
all right
Terror.isTerror() → false
, wasundefined
Published as
terror@1.2.0-rc2
Only my changes: https://github.com/nodules/terror/compare/508bea3...v1.2
\cc @narqo @B-Vladi