Request for error output causing crash