Changeset 12056 for trunk


Ignore:
Timestamp:
09/09/11 10:12:31 (13 years ago)
Author:
tbretz
Message:
Added an error output in case the fits file could not be opened.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/DataCalib.cc

    r12036 r12056  
    124124        fits file(str);
    125125        if (!file)
    126             return false;
     126        {
     127            msg.Error("Opening '"+str+"' failed: "+string(strerror(errno)));
     128            return false;
     129        }
    127130
    128131        if (file.GetStr("TELESCOP")!="FACT")
Note: See TracChangeset for help on using the changeset viewer.