add meaningful error message when we have an error in the UserProfile handler... If it is an exception, It prints the last line otherwise it prints the message...