fix: update worker restart instructions in error messages

- Added a new line after the command to run for restarting the worker in the error message.
- Included an additional instruction to restart Claude Code after running the worker restart command.
This commit is contained in:
Alex Newman
2025-12-14 14:51:42 -05:00
parent ad75ca7c4c
commit 830f16df46
8 changed files with 45 additions and 38 deletions
+2 -1
View File
@@ -7,7 +7,8 @@ ${t.stack}`:t.message;if(Array.isArray(t))return`[${t.length} items]`;let e=Obje
`,u+=`1. Exit Claude Code completely
`,u+=`2. Open ${a}
`,u+=`3. Navigate to: ${i}
`,u+="4. Run: npm run worker:restart",e&&(u+=`
`,u+=`4. Run: npm run worker:restart
`,u+="5. Restart Claude Code",e&&(u+=`
If that doesn't work, try: /troubleshoot`),o&&(u=`Worker Error: ${o}