From c0567c3f3561afb8148a511322fd7590d5ab60bc Mon Sep 17 00:00:00 2001 From: Luke Street Date: Sun, 4 Apr 2021 18:23:08 -0400 Subject: [PATCH] Update boo, integrate sentry --- hecl/driver/main.cpp | 7 +++++++ hecl/extern/boo | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/hecl/driver/main.cpp b/hecl/driver/main.cpp index 51012272a..703f72f0f 100644 --- a/hecl/driver/main.cpp +++ b/hecl/driver/main.cpp @@ -16,6 +16,7 @@ #include #include "hecl/Database.hpp" #include "hecl/Blender/Connection.hpp" +#include "hecl/Runtime.hpp" #include "logvisor/logvisor.hpp" #include "../version.h" @@ -309,6 +310,12 @@ int main(int argc, const char** argv) logvisor::RegisterConsoleLogger(); atSetExceptionHandler(AthenaExc); +#if SENTRY_ENABLED + hecl::Runtime::FileStoreManager fileMgr{_SYS_STR("sentry-native-hecl")}; + hecl::SystemUTF8Conv cacheDir{fileMgr.getStoreRoot()}; + logvisor::RegisterSentry("hecl", URDE_WC_DESCRIBE, cacheDir.c_str()); +#endif + /* Basic usage check */ if (argc == 1) { printHelp(argv[0]); diff --git a/hecl/extern/boo b/hecl/extern/boo index 717eac9cc..80f25c536 160000 --- a/hecl/extern/boo +++ b/hecl/extern/boo @@ -1 +1 @@ -Subproject commit 717eac9cc322c333792bde55bbb8ae8d45daa3e4 +Subproject commit 80f25c53685b59efc94db029f1b4a0d909e4a45a