diff --git a/lib-new/errors.coffee b/lib-new/errors.coffee index 681c78b..15ed5f4 100644 --- a/lib-new/errors.coffee +++ b/lib-new/errors.coffee @@ -6,7 +6,7 @@ class @Error extends Error constructor: (@message='Unknown error', @neo4j={}) -> @name = 'neo4j.' + @constructor.name - Error.captureStackTrace @, @constructor + super.captureStackTrace @, @constructor # # Accepts the given HTTP client response, and if it represents an error,