Skip logging script startup exceptions for dynamic workers#6332
Skip logging script startup exceptions for dynamic workers#6332
Conversation
Co-authored-by: ketanhwr <ketanhwr@users.noreply.github.com>
|
The change is clear and straightforward. Let me analyze it: Before the change: After the change: This makes sense — for dynamic workers, the exception is rethrown to the caller as a JS Error, so the caller can handle it. Logging it as an ERROR in the server logs would be noisy for what is expected user-facing behavior. The span logging ( This is a clean, minimal, correct change. No backward compatibility concerns (this is internal logging behavior, not user-facing API). No safety issues. The span-based tracing is still unconditional. The logic is sound. LGTM |
No description provided.