summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/instance.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/instance.cpp b/src/instance.cpp
index f80e430..172489c 100644
--- a/src/instance.cpp
+++ b/src/instance.cpp
@@ -73,6 +73,7 @@ uint64_t Instance::get_max_chars()
catch (const exception &e)
{
debuglog << "Unexpected exception: " << e.what() << '\n';
+ return default_max_chars;
}
}