handling start acq call back exception

This commit is contained in:
2020-11-17 13:34:51 +01:00
parent 0cb7d62ad5
commit f19bc8880a
2 changed files with 11 additions and 5 deletions

View File

@@ -28,7 +28,8 @@ int StartAcq(std::string filepath, std::string filename, uint64_t fileindex,
<< " filename:" << filename << " fileindex:" << fileindex
<< " datasize:" << datasize << " ####";
throw std::runtime_error("start acquisition call back error");
throw std::runtime_error(
"Throwing exception from start acquisition call back");
return 0;
}