From 8a62d433e1ddc172e7d8bd2cd34b0f5fbaffa127 Mon Sep 17 00:00:00 2001 From: Marc Stein Date: Sat, 9 Feb 2019 21:28:19 +0100 Subject: [PATCH 1/2] Fixed error message send to raven captureException --- lib/utils/log.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/log.js b/lib/utils/log.js index 9279fc4..b260c67 100644 --- a/lib/utils/log.js +++ b/lib/utils/log.js @@ -38,7 +38,7 @@ function RavenStream(raven) { _.assign(record.err, {message: `${record.msg} (${record.err.message})`}); - this.raven.captureException(record.err, options); + this.raven.captureException(record.err.message, options); return next(); } }) From d9df652dbb486cc6d0aa5eabfa8398f0d3caa362 Mon Sep 17 00:00:00 2001 From: Marc Stein Date: Sat, 9 Feb 2019 21:31:33 +0100 Subject: [PATCH 2/2] Version bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a060ad5..555af54 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gfke/gfke-support", - "version": "2.1.2", + "version": "2.1.3", "description": "Collection of services and utils for gfke applications", "main": "lib/index.js", "author": {