Skip to content

Commit

Permalink
Catch only cms::Exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-kaspar committed Nov 5, 2020
1 parent 559606f commit 52ded92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CalibPPS/AlignmentRelative/src/LocalTrackFitter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ void LocalTrackFitter::fitAndRemoveOutliers(HitCollection &selection,

try {
ATViAI = ATViA.Invert();
} catch (...) {
} catch (cms::Exception &e) {
failed = true;
return;
}
Expand Down

0 comments on commit 52ded92

Please sign in to comment.