Changeset 22634


Ignore:
Timestamp:
03/26/18 16:08:39 (7 years ago)
Author:
Mathieu Morlighem
Message:

CHG: to NOT return 0 if exception was caught!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/shared/Exceptions/exceptions.h

    r19701 r22634  
    6161        catch(ErrorException &exception){\
    6262                exception.Report();\
    63                 return 0;\
     63                return 1;\
    6464        }\
    6565        catch(exception& e) {\
    6666                _printf_("Standard exception: " << e.what() << "\n\n");\
    67                 return 0;\
     67                return 1;\
    6868        }\
    6969        catch(...){\
    7070                _printf_("An unexpected error occurred \n\n");\
    71                 return 0;\
     71                return 1;\
    7272        }
    7373/*}}}*/
Note: See TracChangeset for help on using the changeset viewer.