java - Is it any way to display custom 500-errors on App Engine (GAE)? -
server errors result in http 500-responses client generic error message ("the server encountered error..."). there way intercept message , write custom one?
i'm have way uniquely identify server error client. if instance generate guid logged server-side upon server error , send id client, make easy search particular exception in log @ point later in time.
i realize server errors generated exceptions in code, i'm looking kind of catch exception hook in app engine api. of course, if such hook exists, , code executes here generates second exception, have default general 500-error again.
i'm using java api gae
for gae generated errors can configure custom error page. errors generated code should use catch-all wrapper inside first servlet filter.
Comments
Post a Comment