Added an option to suppress error messages when errors are caught.