IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28785


Ignore:
Timestamp:
Jul 29, 2010, 9:24:06 PM (16 years ago)
Author:
rhenders
Message:

More hacks to catch returns from failed pantasks requests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/czartool/Pantasks.pm

    r28704 r28785  
    6767    my ($self, $server) = @_;
    6868
    69 
    7069    my @labels;
    7170
     
    7877        if ($line =~ m/pantasks:\s+(.*)/) {
    7978
     79            # HACK quit if we get 'show.labels: Command not found.'
     80            if ($1 =~ m/.*show\.labels.*/i) {return \@labels;};
     81            # HACK quit if we get 'Connection reset by peer'
     82            if ($1 =~ m/.*Connection reset by peer.*/i) {return \@labels;};
     83            # HACK quit if we get 'server is busy' message
     84            if ($1 =~ m/.*server is busy.*/i) {return \@labels;};
    8085            # HACK to get around 'dummy' label in stdscience
    8186            if ($1 !~ m/.*dummy.*/) {push(@labels, $1);};
Note: See TracChangeset for help on using the changeset viewer.