Author: jtn
Date: Mon Aug 15 23:46:04 2016
New Revision: 33601

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

See gna bug #24972.

Modified:
    branches/S2_5/server/stdinhand.c

Modified: branches/S2_5/server/stdinhand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/server/stdinhand.c?rev=33601&r1=33600&r2=33601&view=diff
==============================================================================
--- branches/S2_5/server/stdinhand.c    (original)
+++ branches/S2_5/server/stdinhand.c    Mon Aug 15 23:46:04 2016
@@ -3724,9 +3724,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