diff options
author | Robin Houston <robin@lenny.robin> | 2011-06-20 23:43:11 +0100 |
---|---|---|
committer | Robin Houston <robin@lenny.robin> | 2011-06-20 23:43:11 +0100 |
commit | b31619ec506dc14ff8ce07f24cef8f2f0df5d36c (patch) | |
tree | 733947c498e34191b52098e7582e24adcf3feb18 | |
parent | 770ceda38d780c2e8d3f0260a0f8912923d82b62 (diff) |
If we print an error message from an external converter program,
indicate which program produced the message.
-rw-r--r-- | app/models/incoming_message.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/incoming_message.rb b/app/models/incoming_message.rb index ca5676c67..bfb318565 100644 --- a/app/models/incoming_message.rb +++ b/app/models/incoming_message.rb @@ -180,6 +180,7 @@ def external_command(program_name, *args) xc.run() if xc.status != 0 # Error + $stderr.puts("Error from #{program_name} #{args.join(' '):}") $stderr.print(xc.err) return nil else |