Update boo, integrate sentry

This commit is contained in:
Luke Street 2021-04-04 18:23:08 -04:00
parent 0374773b6f
commit c0567c3f35
2 changed files with 8 additions and 1 deletions

View File

@ -16,6 +16,7 @@
#include <list>
#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]);

2
hecl/extern/boo vendored

@ -1 +1 @@
Subproject commit 717eac9cc322c333792bde55bbb8ae8d45daa3e4
Subproject commit 80f25c53685b59efc94db029f1b4a0d909e4a45a