Skip to content

Commit 268d196

Browse files
Display error in catch(...)
A catch(...) was hiding a problem we had - it would have been faster to debug if it had printed a message, this PR makes it do so.
1 parent 6888dd2 commit 268d196

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/goto-analyzer/taint_analysis.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,7 @@ bool taint_analysist::operator()(
400400
}
401401
catch(...)
402402
{
403+
error() << "Caught unexpected error in taint_analysist::operator()" << eom;
403404
return true;
404405
}
405406
}

0 commit comments

Comments
 (0)