Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

minor fixes

  • Loading branch information...
commit 5c3736e886c0d26c564308fd5f9180a036e79548 1 parent 9bce720
Luke Closs authored
Showing with 1 addition and 4 deletions.
  1. +1 −1  bin/send-receipt
  2. +0 −3  lib/Biopay/Daemon.pm
2  bin/send-receipt
View
@@ -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';
3  lib/Biopay/Daemon.pm
View
@@ -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]}'";
- }
});
}
);
Please sign in to comment.
Something went wrong with that request. Please try again.