diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-01 19:02:28 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-01 19:02:28 +0100 |
commit | 221b08e07246e84587b4144eca5564ce9ad3a20a (patch) | |
tree | d46a71a331ff51a92c1c332e57e0a7c88851a713 /frontend/load_dungeon.cpp | |
parent | ca3e80a5b474d99391c253d3173117e955e33a20 (diff) |
implement leaderboard functionality
Diffstat (limited to 'frontend/load_dungeon.cpp')
-rw-r--r-- | frontend/load_dungeon.cpp | 4 |
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) |