Skip to content

Commit 2c0f744

Browse files
committed
fix: rebuild
1 parent b1a391f commit 2c0f744

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

adminforth/modules/codeInjector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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,

adminforth/modules/socketBroker.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)