www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - vibe.d exceptions and the 500 - Internal Server Error response

reply Chris Bare <chris bareflix.com> writes:
I understand vibe.d catching exceptions and replying with a 500 
in production,
but is there a way to turn this feature off for development?
I'd rather have them uncaught so I can see what happened.
Jan 24 2021
parent aberba <karabutaworld gmail.com> writes:
On Sunday, 24 January 2021 at 23:49:58 UTC, Chris Bare wrote:
 I understand vibe.d catching exceptions and replying with a 500 
 in production,
 but is there a way to turn this feature off for development?
 I'd rather have them uncaught so I can see what happened.
How about printing errors with the error handler in server config? https://vibed.org/docs#http-server-config
Jan 25 2021