An error occurs when an app engine job that was added to the work queue on your local dev environment It has retried until it succeeds, however, in the production environment, it is not. What I am thinking is that because I have a custom 500 handler, in URLS, all the errors are caught by it and 500 errors are never bubbles at the top.
Could this really be the reason that my work is not being retried? And if so, is there any way to stop it? I only want to capture errors by handler 500 view if the request is generated by user, backend is not working (for those people, I want to bubble the error and force to try again).
Task cues are reworked to work if it returns a non-200 status code If your "custom 500 handler" is returning the 200 status code, there is no way the function in the work queue is unsuccessful, so it does not retry it to return the appropriate status code to modify your handler. Need - it should be done for user pages, no matter what Hia.
Comments
Post a Comment