Project

General

Profile

« Previous | Next » 

Revision dae7ca7d

Added by Marc Dequènes almost 14 years ago

  • ID dae7ca7d6a4bc6830b6222cc8e810756ab709e23

[fix] don't translate command results in logs

View differences:

bin/postman
end
tag = result.ok ? "SUCCESS" : "FAILURE"
logger.debug "Command result: [#{tag}] #{result.message}"
logger.debug "Command result: [#{tag}] #{result.message.untranslated}"
else
logger.info "Invalid command detected: #{cmd.cmdline}"
cmd.parsing_errors.collect{|err| logger.debug "Invalid command detected - reason: " + err.untranslated }

Also available in: Unified diff