diff --git a/packages/webui/src/cli.mjs b/packages/webui/src/cli.mjs index 64b3e7b4..ccbe6780 100644 --- a/packages/webui/src/cli.mjs +++ b/packages/webui/src/cli.mjs @@ -35,7 +35,7 @@ try { const { dataRoot } = system; bus = busReader({ dataRoot, socket: socketPath(dataRoot), business: options.business ?? null }); busLine = `Bus: ${options.business ?? 'the running bus host\'s business'}`; - } catch (err) { busLine = `Bus: not configured (${redactor({ configDir: configDir() })(err.message)})`; } + } catch (err) { busLine = `Bus: not configured (${err.message})`; } const reads = consoleReads({ root: REPO, system, configDir: configDir(), rolesDir: rolesDir(), business: options.business ?? null }); const server = await startServer({ board: options.board, port: options.port, bus, reads }); console.log(`Mosaic Console: http://127.0.0.1:${server.address().port}/\nBoard: ${options.board}\n${busLine}\nCtrl-C stops this server.`);