summaryrefslogtreecommitdiff
path: root/core/error_macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/error_macros.h')
-rw-r--r--core/error_macros.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/error_macros.h b/core/error_macros.h
index 76da88287b..cc88686301 100644
--- a/core/error_macros.h
+++ b/core/error_macros.h
@@ -207,6 +207,11 @@ extern bool _err_error_exists;
_err_error_exists=false;\
} \
+#define ERR_PRINTS(m_string) \
+ { \
+ _err_print_error(FUNCTION_STR,__FILE__,__LINE__,String(m_string).utf8().get_data()); \
+ _err_error_exists=false;\
+ } \
/** Print a warning string.
*/