File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,17 +15,17 @@ class Log {
1515 // Automatically report uncaught fatal error
1616 process . on ( 'uncaughtException' , ( error ) => {
1717 this . fatal ( {
18- ' message' : error . message ,
19- ' stack_trace' : error . stack
18+ message : error . message ,
19+ stack_trace : error . stack
2020 } )
2121 } )
2222
2323 // Automatically report unhandled rejection
2424 process . on ( 'unhandledRejection' , ( reason , promise ) => {
2525 this . fatal ( {
26- ' message' : 'unhandled rejection' ,
27- 'promise' : promise ,
28- 'reason' : reason
26+ message : 'unhandled rejection' ,
27+ promise,
28+ reason
2929 } )
3030 } )
3131 }
Original file line number Diff line number Diff line change 11{
22 "name" : " labstack" ,
3- "version" : " 0.5.2 " ,
3+ "version" : " 0.5.3 " ,
44 "description" : " Official Node.js client library for the LabStack platform" ,
55 "main" : " index.js" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments