projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9f69daa
)
want to know who *called* this without the required second arg
author
ivan
<ivan>
Fri, 10 Mar 2006 22:28:17 +0000
(22:28 +0000)
committer
ivan
<ivan>
Fri, 10 Mar 2006 22:28:17 +0000
(22:28 +0000)
FS/FS/UI/Web.pm
patch
|
blob
|
history
diff --git
a/FS/FS/UI/Web.pm
b/FS/FS/UI/Web.pm
index
49e3fbf
..
dc45e01
100644
(file)
--- 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;
}