Author: jtn Date: Mon Aug 15 23:45:47 2016 New Revision: 33600 URL: http://svn.gna.org/viewcvs/freeciv?rev=33600&view=rev Log: Print diagnostic when failing to parse savefile at LOG_ERROR, not LOG_DEBUG.
See gna bug #24972. Modified: branches/S2_6/server/stdinhand.c Modified: branches/S2_6/server/stdinhand.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/stdinhand.c?rev=33600&r1=33599&r2=33600&view=diff ============================================================================== --- branches/S2_6/server/stdinhand.c (original) +++ branches/S2_6/server/stdinhand.c Mon Aug 15 23:45:47 2016 @@ -3673,9 +3673,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