mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-01-29 15:44:26 +00:00
Include node version in sentry logs
This commit is contained in:
parent
c5afe5f2c2
commit
18533de3da
@ -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
|
||||
|
@ -31,7 +31,8 @@ Raven.config(require('./config').sentryDsn, {
|
||||
|
||||
Raven.setContext({
|
||||
extra: {
|
||||
args: process.argv
|
||||
args: process.argv,
|
||||
node_version: process.version
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user