start writing http lua stuff, also heartbeat debug printing

This commit is contained in:
Lion Kortlepel
2021-11-08 22:08:07 +01:00
parent 3e7aa763ed
commit f8af134dc9
4 changed files with 43 additions and 10 deletions

View File

@@ -21,7 +21,8 @@
// global, yes, this is ugly, no, it cant be done another way
TSentry Sentry {};
int main(int argc, char** argv) try {
int main(int argc, char** argv) //try {
{
setlocale(LC_ALL, "C");
SetupSignalHandlers();
@@ -67,7 +68,8 @@ int main(int argc, char** argv) try {
}
beammp_info("Shutdown.");
return 0;
} catch (const std::exception& e) {
beammp_error(e.what());
Sentry.LogException(e, _file_basename, _line);
//} catch (const std::exception& e) {
// beammp_error(e.what());
// Sentry.LogException(e, _file_basename, _line);
//}
}