summaryrefslogtreecommitdiff
path: root/FS/FS/part_export/infostreet.pm
diff options
context:
space:
mode:
authorivan <ivan>2002-07-16 03:56:16 +0000
committerivan <ivan>2002-07-16 03:56:16 +0000
commit0d0bee036173beccb207f11712830f083b4eb2bc (patch)
treec72bdfc6ffcd64258b2f922663e817b5e22a11f4 /FS/FS/part_export/infostreet.pm
parent46b6aae489f468a46be6c66f8ae6da48b41fe70c (diff)
better error handling
Diffstat (limited to 'FS/FS/part_export/infostreet.pm')
-rw-r--r--FS/FS/part_export/infostreet.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/part_export/infostreet.pm b/FS/FS/part_export/infostreet.pm
index fbf58bd..0f478d2 100644
--- a/FS/FS/part_export/infostreet.pm
+++ b/FS/FS/part_export/infostreet.pm
@@ -164,6 +164,7 @@ sub infostreet_command { #subroutine, not method
}
eval "use Frontier::Client;";
+ die $@ if $@;
eval 'sub Frontier::RPC2::String::repr {
my $self = shift
@@ -171,6 +172,7 @@ sub infostreet_command { #subroutine, not method
$value =~ s/([&<>\"])/$Frontier::RPC2::char_entities{$1}/ge;
$value;
}';
+ die $@ if $@;
my $conn = Frontier::Client->new( url => $url );
my $key_result = $conn->call( 'authenticate', $username, $password, $groupID);