]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/ping/ping.cpp
Log errors from plugins to server log.
[stg.git] / projects / stargazer / plugins / other / ping / ping.cpp
index 00bb362d98151a56b7354cca9dd7922ae03ec2c1..7f47b7cf8464906ee754cc9c3977ca054ca100a8 100644 (file)
@@ -108,6 +108,7 @@ pinger.Start();
 if (pthread_create(&thread, NULL, Run, this))
     {
     errorStr = "Cannot start thread.";
+    logger("Cannot create thread.");
     printfd(__FILE__, "Cannot start thread\n");
     return -1;
     }