From 7713daa86adf7980fd73cae40203ab6deb6be8b8 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sun, 20 Aug 2023 11:47:06 +0200 Subject: compositor: log thrown runtime exceptions --- src/helpers/MiscFunctions.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/helpers/MiscFunctions.hpp') diff --git a/src/helpers/MiscFunctions.hpp b/src/helpers/MiscFunctions.hpp index c9e1f1b3..88598390 100644 --- a/src/helpers/MiscFunctions.hpp +++ b/src/helpers/MiscFunctions.hpp @@ -29,4 +29,5 @@ float getPlusMinusKeywordResult(std::string in, float void matrixProjection(float mat[9], int w, int h, wl_output_transform tr); double normalizeAngleRad(double ang); std::string replaceInString(std::string subject, const std::string& search, const std::string& replace); -std::vector getBacktrace(); \ No newline at end of file +std::vector getBacktrace(); +void throwError(const std::string& err); \ No newline at end of file -- cgit v1.2.3