diff --git a/CHANGELOG.md b/CHANGELOG.md index 5937be88..81fcde80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## Added + +- Include Node version in Sentry logging + ## Fixed - Ensure to send .pem file contents rather than filename to docker daemon diff --git a/build/app.js b/build/app.js index 8a9382b5..c175d38b 100644 --- a/build/app.js +++ b/build/app.js @@ -31,7 +31,8 @@ Raven.config(require('./config').sentryDsn, { Raven.setContext({ extra: { - args: process.argv + args: process.argv, + node_version: process.version } }); diff --git a/lib/app.coffee b/lib/app.coffee index 4fba3f71..261d04c0 100644 --- a/lib/app.coffee +++ b/lib/app.coffee @@ -22,7 +22,10 @@ Raven.config require('./config').sentryDsn, .install (logged, error) -> console.error(error) process.exit(1) -Raven.setContext(extra: args: process.argv) +Raven.setContext + extra: + args: process.argv + node_version: process.version # Doing this before requiring any other modules, # including the 'resin-sdk', to prevent any module from reading the http proxy config