Skip to content

Commit

Permalink
vidjil.cpp: catches invalid_argument exceptions from Fasta()
Browse files Browse the repository at this point in the history
See 183ad87.
  • Loading branch information
magiraud committed Nov 7, 2014
1 parent 484a05d commit aab9fd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion algo/vidjil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ int main (int argc, char **argv)

try {
reads = new OnlineFasta(f_reads, 1, " ");
} catch (const std::ios_base::failure e) {
} catch (const invalid_argument e) {
cout << ERROR_STRING << "Vidjil cannot open reads file " << f_reads << ": " << e.what() << endl;
exit(1);
}
Expand Down

0 comments on commit aab9fd8

Please sign in to comment.