Log the error message and revert formatting
Fix broken tests