use correct format code for exceptions
1 file changed