File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1212#include "io.h"
1313#include "query.h"
1414#include "api.h"
15- #include "inventory.h"
15+ #include "inventory.h"
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ namespace SpiceQL {
8585
8686 std::string cache_dir;
8787
88- if (cache_dir_char == NULL || (CACHE_DIRECTORY == " " )) {
88+ if (cache_dir_char == NULL && (CACHE_DIRECTORY == " " )) {
8989 SPDLOG_DEBUG (" Cache directory not set and not in environment variable " + CACHE_DIR_ENV_VAR + " and not overridden." );
9090 throw runtime_error (" Cache directory not set and not in environment variable " + CACHE_DIR_ENV_VAR + " and not overridden." );
9191 }
Original file line number Diff line number Diff line change @@ -1001,7 +1001,7 @@ namespace SpiceQL {
10011001 SPDLOG_TRACE (" SpiceQL DB Path: {}" , dbPath.string ());
10021002
10031003 if (!fs::is_directory (dbPath)) {
1004- throw runtime_error (" Config Directory Not Found." );
1004+ throw runtime_error (" Config Directory " + dbPath. string () + " Not Found." );
10051005 }
10061006
10071007 return dbPath;
You can’t perform that action at this time.
0 commit comments