Open programsam opened 6 years ago
Also what if there is no server running or nginx says 502 etc
jQuery knows how to register global error handlers, which could render a pop up/modal that show what the problem is.
Definitely these error handlers are in place and render a modal when there's a problem.
Needs more information in the error message I think.
Did some work on this. 90% of the time, it's handled by the Ajax Global Error handler, which just spits out what the basic error was using the binkAlertModal. It would be good (though difficult) to get the server-side error message to propagate all the way out to the user for debugging purposes.
Handle when the database is funky, etc.