aboutsummaryrefslogtreecommitdiff
path: root/src/server/bnetserver/Main.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2016-11-28 18:37:51 +0100
committerShauren <shauren.trinity@gmail.com>2016-11-28 18:37:51 +0100
commite0fb4445cd2f5f4bb94ea23122548debddc41ba6 (patch)
treea2850cbf86c3097ef99c4bc7cb3255e2b22da63c /src/server/bnetserver/Main.cpp
parente43529933fbedb02c9e4b636b6e1d9d94398e5e6 (diff)
Core/Debugging: Added wheaty everywhere and modified it to always reliably report issues during static initialization
Diffstat (limited to 'src/server/bnetserver/Main.cpp')
-rw-r--r--src/server/bnetserver/Main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/bnetserver/Main.cpp b/src/server/bnetserver/Main.cpp
index 56eff7c0c07..a17872303d2 100644
--- a/src/server/bnetserver/Main.cpp
+++ b/src/server/bnetserver/Main.cpp
@@ -32,6 +32,7 @@
#include "SslContext.h"
#include "DatabaseLoader.h"
#include "LoginRESTService.h"
+#include "WheatyExceptionReport.h"
#include <iostream>
#include <boost/program_options.hpp>
#include <boost/filesystem/path.hpp>
@@ -77,6 +78,7 @@ static uint32 _banExpiryCheckInterval;
int main(int argc, char** argv)
{
+ InitializeCrashHandler();
signal(SIGABRT, &Trinity::AbortHandler);
auto configFile = fs::absolute(_TRINITY_BNET_CONFIG);