Changeset 20821


Ignore:
Timestamp:
06/28/16 08:53:53 (9 years ago)
Author:
Mathieu Morlighem
Message:

CHG: better error message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/solve/loadresultsfromdisk.m

    r13646 r20821  
    1515        %Check that file exists
    1616        if ~exist(filename,'file'),
    17                 error(['binary file ' filename ' not found.']);
     17                error(sprintf(['\n'...
     18                        '============================================================\n'...
     19                        '   Binary file ' filename ' not found                       \n'...
     20                        '                                                            \n'...
     21                        '   This typically happens when the run crashed.             \n'...
     22                        '   Please check for error messages above or in the outlog   \n'...
     23                        '============================================================\n'...
     24                        ]));
    1825        end
    1926
Note: See TracChangeset for help on using the changeset viewer.