Skip to content

Commit

Permalink
Include missing discount error message
Browse files Browse the repository at this point in the history
Fix by Jeff Boes <jeff@endpoint.com>.
  • Loading branch information
jonjensen committed Oct 29, 2009
1 parent 57c434e commit 286ede3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Vend/Interpolate.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5101,7 +5101,7 @@ sub discount_price {
$Vend::Interpolate::s = $return ||= $subtotal;
$return = $ready_safe->reval($discount);
if($@) {
::logError("Bad discount code for %s: %s", $discount);
::logError("Bad discount code for %s: %s", $discount, $@);
$return = $subtotal;
next;
}
Expand Down

0 comments on commit 286ede3

Please sign in to comment.