Fix bug in printing out status code when recovering from Redmine error