File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 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 {
7676 }
7777
7878 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 } ` ;
8080 log . info ( `Enqueued event: ${ file } (${ logText } )` ) ;
8181 }
8282
Original file line number Diff line number Diff line change @@ -22,7 +22,9 @@ export class NodeExceptionlessClient extends ExceptionlessClient {
2222
2323 if ( configurationOrApiKey ) {
2424 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 ;
2628 }
2729
2830 if ( ! globalThis ?. fetch ) {
You can’t perform that action at this time.
0 commit comments