diff options
author | ivan <ivan> | 2010-01-13 03:14:09 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-01-13 03:14:09 +0000 |
commit | 6597365b1fc500edd1f69aea577c9614566f873c (patch) | |
tree | 0660fd49a30553b5b574e351543519fed2f63356 /FS/FS/tax_rate.pm | |
parent | 0a641ef9baf404965543233222d84cc82a0a02e7 (diff) |
if ignore_icalculable_taxes is on, don't call the errors fatal
Diffstat (limited to 'FS/FS/tax_rate.pm')
-rw-r--r-- | FS/FS/tax_rate.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/FS/FS/tax_rate.pm b/FS/FS/tax_rate.pm index 101802bd5..30d7f58d0 100644 --- a/FS/FS/tax_rate.pm +++ b/FS/FS/tax_rate.pm @@ -481,16 +481,16 @@ sub _fatal_or_null { my $conf = new FS::Conf; - $error = "fatal: can't yet handle ". $error; + $error = "can't yet handle $error"; my $name = $self->taxname; $name = 'Other surcharges' if ($self->passtype == 2); if ($conf->exists('ignore_incalculable_taxes')) { - warn $error; + warn "WARNING: $error; billing anyway per ignore_incalculable_taxes conf\n"; return { name => $name, amount => 0 }; } else { - return $error; + return "fatal: $error"; } } |