aboutsummaryrefslogtreecommitdiff
path: root/frontend/load_dungeon.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-01 19:02:28 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-01 19:02:28 +0100
commit221b08e07246e84587b4144eca5564ce9ad3a20a (patch)
treed46a71a331ff51a92c1c332e57e0a7c88851a713 /frontend/load_dungeon.cpp
parentca3e80a5b474d99391c253d3173117e955e33a20 (diff)
implement leaderboard functionality
Diffstat (limited to 'frontend/load_dungeon.cpp')
-rw-r--r--frontend/load_dungeon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/load_dungeon.cpp b/frontend/load_dungeon.cpp
index 0388387..75edf16 100644
--- a/frontend/load_dungeon.cpp
+++ b/frontend/load_dungeon.cpp
@@ -28,12 +28,12 @@ unique_ptr<Dungeon> load_dungeon(const string & filename) {
try {
canonical = filesystem::canonical(canonical);
} catch (...) {
- throw Exception("Kon bestand niet vinden");
+ throw Exception("kon bestand niet vinden (%s)", filename.c_str());
}
xml_parse_result result = doc.load_file(canonical.c_str(), parse_default, encoding_latin1);
if (!result)
- throw Exception("Kon XML-bestand niet lezen");
+ throw Exception("kon XML-bestand niet lezen");
xml_node locations = doc.child("locaties");
if (!locations)