opc-agent 4.0.15 → 4.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/runtime.js +3 -1
- package/package.json +1 -1
- package/src/core/runtime.ts +3 -1
package/dist/core/runtime.js
CHANGED
|
@@ -352,7 +352,9 @@ class AgentRuntime {
|
|
|
352
352
|
console.log(` Studio: http://localhost:${studioPort}`);
|
|
353
353
|
}
|
|
354
354
|
catch (e) {
|
|
355
|
-
|
|
355
|
+
const msg = e?.message || String(e);
|
|
356
|
+
this.logger.warn('Studio UI failed to start: ' + msg);
|
|
357
|
+
console.log(` Studio: ⚠️ failed - ${msg}`);
|
|
356
358
|
}
|
|
357
359
|
}
|
|
358
360
|
async stop() {
|
package/package.json
CHANGED
package/src/core/runtime.ts
CHANGED
|
@@ -330,7 +330,9 @@ export class AgentRuntime {
|
|
|
330
330
|
this.logger.info(`Studio UI ready → http://localhost:${studioPort}`);
|
|
331
331
|
console.log(` Studio: http://localhost:${studioPort}`);
|
|
332
332
|
} catch (e: any) {
|
|
333
|
-
|
|
333
|
+
const msg = e?.message || String(e);
|
|
334
|
+
this.logger.warn('Studio UI failed to start: ' + msg);
|
|
335
|
+
console.log(` Studio: ⚠️ failed - ${msg}`);
|
|
334
336
|
}
|
|
335
337
|
}
|
|
336
338
|
|