Throw exception if query file does not exist
@@ -92,8 +92,7 @@ public abstract class QueryStore {
try {
return new String(Files.readAllBytes(Paths.get(filePath)));
} catch (IOException e) {
- return "";
- //throw new DbException("Could not load query: " + filePath);
+ throw new DbException("Could not load query: " + filePath);
}
}
