Fixing silent bug for not finding the tuner
authorHamed Gorjiara <hgorjiar@uci.edu>
Wed, 16 Oct 2019 03:17:08 +0000 (20:17 -0700)
committerHamed Gorjiara <hgorjiar@uci.edu>
Wed, 16 Oct 2019 03:17:08 +0000 (20:17 -0700)
src/Tuner/serializetuner.cc

index db043fb..118cb82 100644 (file)
@@ -29,7 +29,8 @@ SerializeTuner::SerializeTuner(const char *filename) {
                }
                myfile.close();
        } else {
-               model_print("Warning: Tuner %s couldn't be loaded ... Using default tuner instead ....\n", filename);
+               model_print("Error: Tuner %s cannot be found ...\n", filename);
+               exit(1);
        }
 }