415
422
open (F,$args{'location'}) or $self->throw("Couldn't open $args{location}: $!");
416
423
# this is dumb, but the error may be anywhere on the first three lines because the
417
424
# CGI headers are sometimes printed out by the server...
419
426
if (join('',@data) =~ /^ERROR (\d+) (.+)/m) {
420
427
$self->throw("BioFetch Error $1: $2");