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:
File diff suppressed because one or more lines are too long
@@ -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}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -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`),n&&(u=`Worker Error: ${n}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -45,7 +45,8 @@ export function getWorkerRestartInstructions(
|
||||
message += `1. Exit Claude Code completely\n`;
|
||||
message += `2. Open ${terminal}\n`;
|
||||
message += `3. Navigate to: ${pluginDir}\n`;
|
||||
message += `4. Run: npm run worker:restart`;
|
||||
message += `4. Run: npm run worker:restart\n`;
|
||||
message += `5. Restart Claude Code`;
|
||||
|
||||
if (includeSkillFallback) {
|
||||
message += `\n\nIf that doesn't work, try: /troubleshoot`;
|
||||
|
||||
Reference in New Issue
Block a user