summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2023-01-05 19:35:03 +0100
committerAki <please@ignore.pl>2023-01-05 19:35:03 +0100
commit728f73f97657cab299da26793741e405f554fab6 (patch)
treeb6869fe65203a8d4bfaf2ccee48c438187a51dad
parent5b779a1aa8e59f63f26ee2fd5cec908bf5ce1159 (diff)
downloadkurator-728f73f97657cab299da26793741e405f554fab6.zip
kurator-728f73f97657cab299da26793741e405f554fab6.tar.gz
kurator-728f73f97657cab299da26793741e405f554fab6.tar.bz2
NotFound will now at least output the missing key
-rw-r--r--universe/src/NotFound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/universe/src/NotFound.cpp b/universe/src/NotFound.cpp
index e5a4109..ded8ff4 100644
--- a/universe/src/NotFound.cpp
+++ b/universe/src/NotFound.cpp
@@ -19,7 +19,7 @@ NotFound::NotFound(std::string _id) :
const char*
NotFound::what() const noexcept
{
- return "item not found in repository"; // what is not found? use that id
+ return id.c_str();
}