Browse files

minor fixes

  • Loading branch information...
1 parent 9bce720 commit 5c3736e886c0d26c564308fd5f9180a036e79548 Luke Closs committed Jun 24, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −1 bin/send-receipt
  2. +0 −3 lib/Biopay/Daemon.pm
View
2 bin/send-receipt
@@ -34,7 +34,7 @@ if (my $mid = $opts{'resend-last'} || $opts{for}) {
)->send;
}
elsif ($job_id) {
- my $job = Biopay::Command->By_id($job_id) || die "Couldn't load command $job_id";
+ my $job = Biopay::Command->By_id($job_id) || die "Couldn't load command '$job_id'";
die "Command is of the wrong type: " . $job->{command}
unless $job->{command} eq 'send-receipt';
View
3 lib/Biopay/Daemon.pm
@@ -73,9 +73,6 @@ method run {
if (my $cb = $self->job_handler($job->command)) {
$job->run($cb);
}
- else {
- warn "Sorry, do not know how to run: '@{[$job->command]}'";
- }
});
}
);

0 comments on commit 5c3736e

Please sign in to comment.