Include node version in sentry logs

This commit is contained in:
Tim Perry 2017-06-22 14:48:25 +02:00
parent c5afe5f2c2
commit 18533de3da
3 changed files with 10 additions and 2 deletions

View File

@ -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

View File

@ -31,7 +31,8 @@ Raven.config(require('./config').sentryDsn, {
Raven.setContext({
extra: {
args: process.argv
args: process.argv,
node_version: process.version
}
});

View File

@ -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