Compare commits

...

4 Commits

Author SHA1 Message Date
Lion Kortlepel
e25f2b0382 add test error to current build 2021-10-10 01:20:46 +02:00
Lion Kortlepel
e91fee7186 more less compiler mad making yes
anon is my accomplice
2021-10-10 01:08:26 +02:00
Lion Kortlepel
bfe9cfd41b dont make the compiler mad, now 2021-10-10 01:07:14 +02:00
Lion Kortlepel
d4f40ca889 force crash 2021-10-10 00:58:10 +02:00

View File

@@ -54,6 +54,16 @@ int main(int argc, char** argv) try {
Application::Console().InitializeLuaConsole(LuaEngine);
Application::CheckForUpdates();
Sentry.LogError("test error", __FILE__, std::to_string(__LINE__));
error("goodbye, crashing now");
volatile int* a = nullptr;
// oh boy
*a = -0;
a[318008]++;
// bye now
abort();
// TODO: replace
while (!Shutdown) {
std::this_thread::sleep_for(std::chrono::milliseconds(50));