summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2006-03-10 22:28:17 +0000
committerivan <ivan>2006-03-10 22:28:17 +0000
commitb29780b983dd91fb679e8d01b91902b0ce186e9f (patch)
tree8e2135d459d78acc63d43f09c3113c35baf947ef /FS
parent9f69daa6b11920b84840c17bf95955dee959367e (diff)
want to know who *called* this without the required second arg
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/UI/Web.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/UI/Web.pm b/FS/FS/UI/Web.pm
index 49e3fbf7e..dc45e0188 100644
--- a/FS/FS/UI/Web.pm
+++ b/FS/FS/UI/Web.pm
@@ -131,6 +131,7 @@ package FS::UI::Web::JSRPC;
use strict;
use vars qw($DEBUG);
+use Carp;
use Storable qw(nfreeze);
use MIME::Base64;
use JSON;
@@ -150,7 +151,7 @@ sub new {
bless $self, $class;
- die "CGI object required as second argument" unless $self->{'cgi'};
+ croak "CGI object required as second argument" unless $self->{'cgi'};
return $self;
}