[BUG #4457] Make use of the global error handler.