mirror of https://github.com/AxioDL/metaforce.git
Update boo, integrate sentry
This commit is contained in:
parent
0374773b6f
commit
c0567c3f35
|
@ -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]);
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 717eac9cc322c333792bde55bbb8ae8d45daa3e4
|
||||
Subproject commit 80f25c53685b59efc94db029f1b4a0d909e4a45a
|
Loading…
Reference in New Issue