Minor change to error handler.