From 30846f2577abf30e80fd5f0f69ef566336093ab1 Mon Sep 17 00:00:00 2001 From: Tyler K <18091407+ambiguousname@users.noreply.github.com> Date: Sun, 8 Mar 2026 17:29:13 -0700 Subject: [PATCH] Add error message on path not found --- src/helpers/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/common.h b/src/helpers/common.h index 2967bf3c..518b5c15 100644 --- a/src/helpers/common.h +++ b/src/helpers/common.h @@ -67,7 +67,7 @@ public: \ ref.instantiate(); \ ref->_wrapped = wrapped; \ char path[MAX_PATH_SIZE]; \ - ERROR_CHECK(wrapped->getPath(path, MAX_PATH_SIZE, nullptr)); \ + ERROR_CHECK_WITH_REASON(wrapped->getPath(path, MAX_PATH_SIZE, nullptr), "Could not find path. It is likely that .strings.bank has not been loaded."); \ ERROR_CHECK(wrapped->getID(&ref->_guid)); \ ref->_path = String(path); \ } \