File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -930,7 +930,7 @@ class CodeInjector implements ICodeInjector {
930930 const command = 'run dev' ;
931931 afLogger . info ( `⚙️ spawn: npm ${ command } ...` ) ;
932932 if ( process . env . VITE_ADMINFORTH_PUBLIC_PATH ) {
933- afLogger . info ( ' ⚠️ Your VITE_ADMINFORTH_PUBLIC_PATH:' , process . env . VITE_ADMINFORTH_PUBLIC_PATH , ' has no effect' ) ;
933+ afLogger . info ( ` ⚠️ Your VITE_ADMINFORTH_PUBLIC_PATH: ${ process . env . VITE_ADMINFORTH_PUBLIC_PATH } has no effect` ) ;
934934 }
935935 const env = {
936936 VITE_ADMINFORTH_PUBLIC_PATH : this . adminforth . config . baseUrl ,
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ export default class SocketBroker implements IWebSocketBroker {
7373 try {
7474 authResult = await this . adminforth . config . auth . websocketTopicAuth ( data . topic , client . adminUser ) ;
7575 } catch ( e ) {
76- afLogger . error ( ' Error in websocketTopicAuth, assuming connection not allowed' , e ) ;
76+ afLogger . error ( ` Error in websocketTopicAuth, assuming connection not allowed ${ e } ` ) ;
7777 }
7878 if ( ! authResult ) {
7979 client . send ( JSON . stringify ( { type : 'error' , message : 'Unauthorized' } ) ) ;
@@ -94,7 +94,7 @@ export default class SocketBroker implements IWebSocketBroker {
9494 try {
9595 await this . adminforth . config . auth . websocketSubscribed ( data . topic , client . adminUser ) ;
9696 } catch ( e ) {
97- afLogger . error ( `Error in websocketSubscribed for topic ${ data . topic } ` , e ) ;
97+ afLogger . error ( `Error in websocketSubscribed for topic ${ data . topic } , ${ e } ` ) ;
9898 }
9999 } ) ( ) ; // run in background
100100 }
You can’t perform that action at this time.
0 commit comments