We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94ec110 commit f6f9e61Copy full SHA for f6f9e61
ubxtool.cc
@@ -411,8 +411,10 @@ int initFD(const char* fname, bool doRTSCTS)
411
int fd;
412
if (doDEBUG) { cerr<<humanTimeNow()<<" initFD()"<<endl; }
413
if (!isPresent(fname)) {
414
+
415
if (doDEBUG) { cerr<<humanTimeNow()<<" initFD - "<<fname<<" - not present"<<endl; }
- throw runtime_error("Opening file "+string(fname));
416
417
+ throw runtime_error("Opening file "+string(fname)+": not present)";
418
}
419
if(string(fname) != "stdin" && string(fname) != "/dev/stdin" && isCharDevice(fname)) {
420
if (doDEBUG) { cerr<<humanTimeNow()<<" initFD - open("<<fname<<")"<<endl; }
0 commit comments