mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-01-30 16:13:59 +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.
|
All notable changes to this project will be documented in this file.
|
||||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
|
## Added
|
||||||
|
|
||||||
|
- Include Node version in Sentry logging
|
||||||
|
|
||||||
## Fixed
|
## Fixed
|
||||||
|
|
||||||
- Ensure to send .pem file contents rather than filename to docker daemon
|
- Ensure to send .pem file contents rather than filename to docker daemon
|
||||||
|
@ -31,7 +31,8 @@ Raven.config(require('./config').sentryDsn, {
|
|||||||
|
|
||||||
Raven.setContext({
|
Raven.setContext({
|
||||||
extra: {
|
extra: {
|
||||||
args: process.argv
|
args: process.argv,
|
||||||
|
node_version: process.version
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -22,7 +22,10 @@ Raven.config require('./config').sentryDsn,
|
|||||||
.install (logged, error) ->
|
.install (logged, error) ->
|
||||||
console.error(error)
|
console.error(error)
|
||||||
process.exit(1)
|
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,
|
# Doing this before requiring any other modules,
|
||||||
# including the 'resin-sdk', to prevent any module from reading the http proxy config
|
# including the 'resin-sdk', to prevent any module from reading the http proxy config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user