Quick fix for message output bug fix in exception handler.

There was minor error in the exception handler routine.