Author: jtn
Date: Mon Aug 15 23:45:29 2016
New Revision: 33599

URL: http://svn.gna.org/viewcvs/freeciv?rev=33599&view=rev
Log:
Print diagnostic when failing to parse savefile at LOG_ERROR, not LOG_DEBUG.

See gna bug #24972.

Modified:
    trunk/server/stdinhand.c

Modified: trunk/server/stdinhand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/stdinhand.c?rev=33599&r1=33598&r2=33599&view=diff
==============================================================================
--- trunk/server/stdinhand.c    (original)
+++ trunk/server/stdinhand.c    Mon Aug 15 23:45:29 2016
@@ -3680,9 +3680,9 @@
   /* attempt to parse the file */
 
   if (!(file = secfile_load(arg, FALSE))) {
+    log_error("Error loading savefile '%s': %s", arg, secfile_error());
     cmd_reply(CMD_LOAD, caller, C_FAIL, _("Could not load savefile: %s"),
               arg);
-    log_debug("Error loading savefile '%s':\n%s", arg, secfile_error());
     dlsend_packet_game_load(game.est_connections, TRUE, arg);
     return FALSE;
   }


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to