Skip to content

Commit

Permalink
Fixed empty catch warning
Browse files Browse the repository at this point in the history
  • Loading branch information
alinasmirnova authored and AndreyAkinshin committed Oct 3, 2023
1 parent 148165b commit 465aaf1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion samples/BenchmarkDotNet.Samples/IntroExceptionDiagnoser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ public void ThrowExceptionRandomly()
throw new Exception();
}
}
catch { }
catch
{
// ignored
}
}
}
}

0 comments on commit 465aaf1

Please sign in to comment.