improve error message
authorIvan Kohler <ivan@freeside.biz>
Sun, 25 Sep 2016 17:54:49 +0000 (10:54 -0700)
committerIvan Kohler <ivan@freeside.biz>
Sun, 25 Sep 2016 17:54:49 +0000 (10:54 -0700)
FS/FS/Cron/pay_batch.pm

index 432271d..9791749 100644 (file)
@@ -58,7 +58,7 @@ sub pay_batch_submit {
           # warn the error and continue. rolling back the transaction once 
           # we've started sending batches is bad.
           warn "error submitting batch ".$pay_batch->batchnum." to gateway '".
-          $gateway->label."\n$@\n";
+          $gateway->label."': $@\n";
         }
       }