projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
589ac6e
)
add debug flag
author
ivan
<ivan>
Sat, 23 Oct 2004 10:36:54 +0000
(10:36 +0000)
committer
ivan
<ivan>
Sat, 23 Oct 2004 10:36:54 +0000
(10:36 +0000)
FS/FS/part_export/artera_turbo.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_export/artera_turbo.pm
b/FS/FS/part_export/artera_turbo.pm
index
13a4f39
..
af4c790
100644
(file)
--- a/
FS/FS/part_export/artera_turbo.pm
+++ b/
FS/FS/part_export/artera_turbo.pm
@@
-22,6
+22,9
@@
tie my %options, 'Tie::IxHash',
'production' => { 'label' => 'Production mode (leave unchecked for staging)',
'type' => 'checkbox',
},
'production' => { 'label' => 'Production mode (leave unchecked for staging)',
'type' => 'checkbox',
},
+ 'debug' => { 'label' => 'Enable debug logging',
+ 'type' => 'checkbox',
+ },
;
%info = (
;
%info = (
@@
-62,6
+65,7
@@
sub _export_insert {
eval "use Net::Artera;";
return $@ if $@;
eval "use Net::Artera;";
return $@ if $@;
+ $Net::Artera::DEBUG = 1 if $self->option('debug');
my $artera = $self->_new_Artera;
my $cust_pkg = $svc_external->cust_svc->cust_pkg;
my $artera = $self->_new_Artera;
my $cust_pkg = $svc_external->cust_svc->cust_pkg;
@@
-133,6
+137,7
@@
sub statusChange {
eval "use Net::Artera;";
return $@ if $@;
eval "use Net::Artera;";
return $@ if $@;
+ $Net::Artera::DEBUG = 1 if $self->option('debug');
my $artera = $self->_new_Artera;
my $result = $artera->statusChange(
my $artera = $self->_new_Artera;
my $result = $artera->statusChange(