diff options
author | Mark Wells <mark@freeside.biz> | 2016-03-28 17:36:25 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-03-28 17:36:32 -0700 |
commit | 79dc2b72b17acaa6aa19da6cd4f8c1b8a194a794 (patch) | |
tree | 00ab2f4ac6ba11483435a645f2963ebacfa9dd35 /httemplate/REST | |
parent | 11c9b2c65cc3c96ce86367ed1ca7e4bc24a4305d (diff) |
slightly better error reporting for DID selector, from #39914
Diffstat (limited to 'httemplate/REST')
-rw-r--r-- | httemplate/REST/1.0/phone_avail | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/REST/1.0/phone_avail b/httemplate/REST/1.0/phone_avail index ef9d3e7f0..c6638f48f 100644 --- a/httemplate/REST/1.0/phone_avail +++ b/httemplate/REST/1.0/phone_avail @@ -17,7 +17,8 @@ if ( scalar(@exports) > 1 ) { die "no DID providing export attached to svcpart $svcpart"; } my $export = $exports[0]; - + +# XXX no error handling my $phonenums = $export->get_dids( map { $_ => scalar($cgi->param($_)) } qw( ratecenter state areacode exchange ) ); |