From 999ca21519bc4fa7fef4707b02d9e8d484e8eed6 Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Wed, 23 May 2018 22:42:50 -0400 Subject: [PATCH] package fixes --- .travis.yml | 2 +- backend/middlewares/RenderingMWs.ts | 2 +- package.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 16ff2f68..290ab300 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,8 +2,8 @@ dist: trusty sudo: required language: node_js node_js: -- '9' - '8' +- '9' deploy: provider: heroku diff --git a/backend/middlewares/RenderingMWs.ts b/backend/middlewares/RenderingMWs.ts index 87ae460d..a0787f46 100644 --- a/backend/middlewares/RenderingMWs.ts +++ b/backend/middlewares/RenderingMWs.ts @@ -64,8 +64,8 @@ export class RenderingMWs { if (err instanceof ErrorDTO) { if (err.details) { + Logger.warn('Handled error:', err); if (!(req.session.user && req.session.user.role >= UserRoles.Developer)) { - Logger.warn('Handled error:', err); delete (err.details); } else { try { diff --git a/package.json b/package.json index 90c5991b..c87c3a5a 100644 --- a/package.json +++ b/package.json @@ -105,7 +105,7 @@ "rimraf": "2.6.2", "run-sequence": "2.2.1", "rxjs": "6.2.0", - "rxjs-compat": "^6.1.0", + "rxjs-compat": "^6.2.0", "ts-helpers": "1.1.2", "ts-node": "6.0.3", "tslint": "5.10.0", @@ -119,6 +119,6 @@ "sharp": "0.20.2" }, "engines": { - "node": ">= 6.9" + "node": ">= 6.9 <10.0" } }