Skip to content

Mark panics in log with -500 code; also return 500 to caller if response hasn't been started yet#70

Merged
ldemailly merged 3 commits intomainfrom
panic_bug
Oct 2, 2024
Merged

Mark panics in log with -500 code; also return 500 to caller if response hasn't been started yet#70
ldemailly merged 3 commits intomainfrom
panic_bug

Conversation

@ldemailly
Copy link
Copy Markdown
Member

  • fixes the issue of panic before anything written being returned as empty 200
  • changes 0 ret code logging to -500 as marker

ldemailly added a commit to ldemailly/go-scratch that referenced this pull request Oct 2, 2024
@ldemailly ldemailly merged commit e9a4588 into main Oct 2, 2024
@ldemailly ldemailly deleted the panic_bug branch October 2, 2024 18:46
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