Skip to content

Commit

Permalink
fix: make Groovy version work
Browse files Browse the repository at this point in the history
  • Loading branch information
c-dilks committed Sep 28, 2024
1 parent 150d21c commit a81522a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/clasqa/QADB.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ class QADB {
dbDirN += '/qadb'
if(cook in ["latest", "pass1", "pass2"]) {
dbDirN += "/${cook}"
else {
System.err << "cook '${cook}' is not available\n"
} else {
System.err << "\nERROR: cook '${cook}' is not available in the QADB\n\n"
return
}
if(verbose) println("QADB dir = ${dbDirN}")
Expand Down
2 changes: 1 addition & 1 deletion srcC/include/QADB.h
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ namespace QA {
if(cooks_avail.find(cook) != cooks_avail.end())
dbDirN += std::string("/") + cook;
else
throw std::runtime_error("cook '" + cook + "' is not available");
throw std::runtime_error("cook '" + cook + "' is not available in the QADB");
if(verbose) std::cout << "QADB at " << dbDirN << std::endl;

// get list of json files
Expand Down

0 comments on commit a81522a

Please sign in to comment.