Replies: 2 comments
-
|
@uniphonic Can you share any specific details of the script in question? My |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
It's a very long running script that I have making lots of API calls. I think the code that triggered the error was trying to log an error message to the chat UI like this: let message = `Error message "${error.message}", retrying in ${delayAmt/1000} seconds... Stack trace: ${error.stack}`;
console.warn(message);
chat.addMessage(message);
await read("Retrying..."); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Suddenly, with a script that has been running fine for months... after the latest ScriptKit update, I'm getting an error that completely closes out my script.
I suspect that my script has encountered an error, which it normally handles gracefully in the past, as it usually logs to the chat window, but it seems that this is no longer working, and it completely crashes out of the script and closes it. Any help here? Thanks in advance!
Here are the last few lines from it the log:
[2025-06-23 12:17:50.076] [warn] Running error action because of unhandledRejection {"error":{}}
[2025-06-23 12:17:50.076] [warn] ☠️ ERROR PROMPT SHOULD SHOW ☠️
[2025-06-23 12:17:50.077] [warn] Error: Timeout after 1 seconds waiting for CHAT_ADD_MESSAGE response
The app failed to send a CHAT_ADD_MESSAGE response to the script process within the expected timeframe. Halting script.
Please share this error to our GitHub Discussions with your scenario: https://github.com/johnlindquist/kit/discussions/categories/errors
[2025-06-23 12:17:50.079] [warn] Running error action because of {"error":{},"script":"my-script.ts"}
Beta Was this translation helpful? Give feedback.
All reactions