From 728f73f97657cab299da26793741e405f554fab6 Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 5 Jan 2023 19:35:03 +0100 Subject: NotFound will now at least output the missing key --- universe/src/NotFound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'universe') 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(); } -- cgit v1.1