Ensure error message are output even if debug is switched off.