Skip to content
Permalink
Browse files

Added default drb_uri

  • Loading branch information...
ngiger committed Sep 22, 2014
1 parent 5303913 commit fd41c086979d34df264b0ce7f45bbce52b2951d4
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc/index.rbx
@@ -32,7 +32,7 @@ begin

if notify.complete?
drb_uris = config.drb_uris
target = drb_uris[notify.params['custom']]
target = drb_uris[notify.params['custom']] || drb_uris['ch.oddb.org']
DRb::DRbObject.new(nil, target).ipn(notify)
request.status = 200
unless(notify.acknowledge)
@@ -59,7 +59,7 @@ rescue StandardError => error
mail.delivery_method :test
end
mail.deliver
$stderr.puts "Delivered #{Mail::TestMailer.deliveries.size} e-mail(s)"
$stderr.puts "Delivered #{Mail::TestMailer.deliveries.size} e-mail(s) to #{mail.to}"
end
request.server.log_error(error.class.to_s)
request.server.log_error(error.message)

0 comments on commit fd41c08

Please sign in to comment.
You can’t perform that action at this time.