Skip to content

Commit

Permalink
#263: wrong number of arguments (given 2, expected 0..1)
Browse files Browse the repository at this point in the history
Fixed #263
  • Loading branch information
dgroup committed Nov 22, 2020
1 parent 597749c commit b5e8f14
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/lazylead/task/svn/diff.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

require "tmpdir"
require "nokogiri"
require "backtrace"
require "active_support/core_ext/hash/conversions"
require_relative "../../salt"
require_relative "../../opts"
Expand Down Expand Up @@ -66,8 +67,8 @@ def send_email(stdout, postman, opts)
)
postman.send opts.merge(stdout: stdout, attachments: [f.path])
rescue StandardError => e
@log.error "ll-010: Can't send an email for #{opts} based on "\
"'#{stdout}'", e
@log.error "ll-010: Can't send an email for #{opts} due to " \
"#{Backtrace.new(e)}' based on #{stdout}'"
end
end
end
Expand Down

0 comments on commit b5e8f14

Please sign in to comment.