Fix typo and formatting. Add info of exception.