diff --git a/src/netpuncher/main.cpp b/src/netpuncher/main.cpp index ea6120b95..571492131 100644 --- a/src/netpuncher/main.cpp +++ b/src/netpuncher/main.cpp @@ -96,7 +96,11 @@ int main(int argc, char * argv[]) printf("Listening on port %d...\n", iPort); // Execute forever - Puncher.ExecuteUntil(-1); + for (;;) + { + Puncher.ExecuteUntil(-1); + fprintf(stderr, "ERROR: %s\n", Puncher.GetError()); + } return 0; }