diff options
author | ivan <ivan> | 2002-12-23 23:56:26 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-12-23 23:56:26 +0000 |
commit | 022f47d636bcec1699a0e8ebce394f5756af5f8c (patch) | |
tree | 96d1773e5108071a0ee591ef9a5e230dd984f4ee /FS | |
parent | 1014e988be16a7158ff7ca0d0a6e7aac730517a0 (diff) |
remove gratuitous warning and better error messages
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/svc_acct.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index 659835626..456c965af 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -366,7 +366,6 @@ sub insert { 'svcnum' => $self->svcnum, 'job' => 'FS::svc_acct::send_email' }; - warn "attempting to queue email to $to"; my $error = $wqueue->insert( 'to' => $to, 'from' => $welcome_from, @@ -383,14 +382,14 @@ sub insert { ); if ( $error ) { $dbh->rollback if $oldAutoCommit; - return "queuing welcome email: $error"; + return "error queuing welcome email: $error"; } foreach my $jobnum ( @jobnums ) { my $error = $wqueue->depend_insert($jobnum); if ( $error ) { $dbh->rollback if $oldAutoCommit; - return "queuing welcome email job dependancy: $error"; + return "error queuing welcome email job dependancy: $error"; } } |