Fixed error handler not displaying any error message.