neondatabase / pg_session_jwt

Postgres Extension for JWT Sessions
Apache License 2.0
3 stars 1 forks source link

replace panics with explicit ereport and error code #8

Closed conradludgate closed 3 days ago

conradludgate commented 1 week ago

panic! is already being turned into error level reports, but with a generic error code. This makes it explicit.

tristan957 commented 1 week ago

I appreciate this PR. Thanks!

mrl5 commented 3 days ago

so to leave an approval with a clear conscience I'll just mention few refs that back up this implementation (also having in mind concern about "ereport and panic" in #6):