Skip to content
Snippets Groups Projects
Commit 69b297d3 authored by Veronique Legrand's avatar Veronique Legrand
Browse files

exception for debug

parent 646fb840
No related branches found
No related tags found
No related merge requests found
......@@ -137,7 +137,11 @@ int FqBaseBackend::getRead(const unsigned long& offset, char * fq_record) {
if (i_f_desc==-1) throw std::runtime_error("No open file currently associated to this backend");
int res=lseek(i_f_desc,offset,SEEK_SET);
if (res==-1) err(errno,"fseek problem when trying to retrieve dna string.");
if (res==-1) {
// err(errno,"fseek problem when trying to retrieve dna string.");
// add exception for debug
throw errno;
}
nread=read(i_f_desc,fq_record,MAX_FQ_RECORD_LENGTH);
nb_lines=0;
i=1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment