Print the error in a useful format.