mailfakk2 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/mailfakk2 +4 -2
- data/lib/facsimile.rb +3 -2
- metadata +2 -2
data/bin/mailfakk2
CHANGED
@@ -7,6 +7,8 @@ include Logging
|
|
7
7
|
begin
|
8
8
|
fakk = MailFakk2.deliver!(STDIN)
|
9
9
|
rescue Exception => e
|
10
|
-
|
11
|
-
|
10
|
+
message = "Could not send fax: #{e.message}"
|
11
|
+
log(message, :err)
|
12
|
+
log(e.backtrace.inspect, :err)
|
13
|
+
STDERR.puts message
|
12
14
|
end
|
data/lib/facsimile.rb
CHANGED