Added exception handling and report messages
updated error message