The current abomination I'm working on avoids this by caching the errors and serving them for several hours...