IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23461


Ignore:
Timestamp:
Mar 20, 2009, 2:08:38 PM (17 years ago)
Author:
jhoblitt
Message:

disambiguate error messages in _neb_start()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PS-IPP-Config/lib/PS/IPP/Config.pm

    r23456 r23461  
    398398    my $neb = eval { Nebulous::Client->new( proxy => $server ); };
    399399    if ($@ or not defined $neb) {
    400         carp "Unable to find NEB_SERVER in camera configuration file.";
     400        carp "Unable to create a Nebulous::Client object with proxy => $server";
    401401        return undef;
    402402    }
     
    416416
    417417    # if not, call _neb_start() and return the new object
    418     return _neb_start();
     418    return _neb_start() or ( carp "Can't start Nebulous" and return undef );
    419419}
    420420
Note: See TracChangeset for help on using the changeset viewer.