Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(server): Log instance id from render instead of random id and catch unhandled #3433

Merged
merged 7 commits into from
Feb 3, 2025

Conversation

nalanj
Copy link
Contributor

@nalanj nalanj commented Feb 3, 2025

Should help with tracking down the crashes we've seen. I also went ahead and dumped RENDER_INSTANCE_ID to our logs instead of the random nanoid id we were using, so that it's easier to correlate metrics graphs to logs.

Also limits depth for dumping errors to logs.

@nalanj nalanj self-assigned this Feb 3, 2025
@nalanj nalanj requested a review from a team February 3, 2025 16:15
@nalanj nalanj marked this pull request as ready for review February 3, 2025 16:16
packages/server/lib/server.ts Show resolved Hide resolved
@nalanj nalanj merged commit 6d1f65a into master Feb 3, 2025
17 checks passed
@nalanj nalanj deleted the uncaught-exception branch February 3, 2025 19:13
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.

3 participants