summaryrefslogtreecommitdiff
path: root/src/database
diff options
context:
space:
mode:
Diffstat (limited to 'src/database')
-rw-r--r--src/database/database.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/database.cpp b/src/database/database.cpp
index 2340a89c..9b8537c2 100644
--- a/src/database/database.cpp
+++ b/src/database/database.cpp
@@ -92,7 +92,7 @@ Database::Database(const Queue &queue, const std::vector<std::string> &kernels,
}
}
- if (!search_result) { throw std::runtime_error("Database error, could not find a suitable entry"); }
+ if (!search_result) { throw RuntimeErrorCode(StatusCode::kDatabaseError); }
}
}