File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ export class DefaultEventQueue implements IEventQueue {
76
76
}
77
77
78
78
const file = await this . enqueueEvent ( event ) ;
79
- const logText = `type=${ < string > event . type } reference_id=${ event . reference_id ?? "<null>" } source=${ < string > event . source } message=${ < string > event . message } ` ;
79
+ const logText = `type=${ < string > event . type } reference_id=${ < string > event . reference_id } source=${ < string > event . source } message=${ < string > event . message } ` ;
80
80
log . info ( `Enqueued event: ${ file } (${ logText } )` ) ;
81
81
}
82
82
Original file line number Diff line number Diff line change @@ -22,7 +22,9 @@ export class NodeExceptionlessClient extends ExceptionlessClient {
22
22
23
23
if ( configurationOrApiKey ) {
24
24
if ( ! globalThis ?. localStorage ) {
25
- config . services . storage = new LocalStorage ( undefined , new LocalStoragePolyfill ( process . cwd ( ) + '/.exceptionless' ) ) ;
25
+ const storage = new LocalStorage ( undefined , new LocalStoragePolyfill ( process . cwd ( ) + '/.exceptionless' ) ) ;
26
+ config . useLocalStorage = ( ) => storage ;
27
+ config . services . storage = storage ;
26
28
}
27
29
28
30
if ( ! globalThis ?. fetch ) {
You can’t perform that action at this time.
0 commit comments