diff options
-rw-r--r-- | FS/FS/cust_pkg/Import.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/cust_pkg/Import.pm b/FS/FS/cust_pkg/Import.pm index e113d17..9c93677 100644 --- a/FS/FS/cust_pkg/Import.pm +++ b/FS/FS/cust_pkg/Import.pm @@ -138,14 +138,14 @@ my %import_options = ( 'domain' => $domain, }; unless ( $svc_domain->svcnum ) { my $error = $svc_domain->insert; - return $error if $error; + return "error auto-inserting domain: $error" if $error; } $svc->username($username); $svc->domsvc($svc_domain->svcnum); } my $error = $svc->insert; - return $error if $error; + return "error inserting service: $error" if $error; } } |