mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 10:40:42 +00:00
Make Open return error when sanity fails
This commit is contained in:
parent
a094aee728
commit
c671e873a3
@ -485,7 +485,7 @@ int ResmedLoader::Open(const QString & dirpath)
|
||||
|
||||
if ( ! ProcessSTRfiles(mach, STRmap, firstImportDay) ) {
|
||||
qCritical() << "ProcessSTR failed, abandoning this import";
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
|
||||
// We are done with the Parsed STR EDF objects, so delete them
|
||||
|
Loading…
Reference in New Issue
Block a user