Skip to content

Commit 7fc9762

Browse files
baudbot-agentBaudbot
andauthored
fix: improve bridge message when agent socket is not found (#157)
Co-authored-by: Baudbot <hornet@agentmail.to>
1 parent 4041070 commit 7fc9762

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

slack-bridge/broker-bridge.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ async function handleUserMessage(userMessage, event) {
699699
const currentSocket = socketPath;
700700
if (!currentSocket) {
701701
logError("🔌 no pi socket found — agent may not be running");
702-
await say(event.channel, " Agent is starting uptry again in a moment.", event.ts);
702+
await say(event.channel, "🔌 Agent is not connectedit may be restarting or the session expired. Run `sudo baudbot restart` to bring it back.", event.ts);
703703
return true;
704704
}
705705
logInfo(`🔌 forwarding to agent via ${currentSocket}`);

0 commit comments

Comments
 (0)