Skip to content

Add ScriptID to error logs - #232

Open
M-itti wants to merge 1 commit into
denuitt1:mainfrom
M-itti:main
Open

Add ScriptID to error logs#232
M-itti wants to merge 1 commit into
denuitt1:mainfrom
M-itti:main

Conversation

@M-itti

@M-itti M-itti commented May 24, 2026

Copy link
Copy Markdown

Currently error logs inconsistently include script info. Some errors show upstream HTTP 404 from script X while others (timeouts, connection errors) show no script context at all.

This PR adds [ScriptID: ...] so every error is traceable to its source script.

Example output change:
Before: Relay error (https://example.com/api): Connection timeout
After: Relay error (https://example.com/api) [ScriptID: AKfycbw...]: Connection timeout

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant