summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Roest <msroest@gmail.com>2012-12-19 08:09:52 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2012-12-21 17:33:13 -0800
commitd3abc25d045d0470f10a764d73d1eec8747ef1a3 (patch)
treedc5bda09d4a5cbbafdd416e4aeb5895f75e3c102
parentbe79890a898ee3d5ae8491bd7d07919d9cf2556d (diff)
downloadDotNetOpenAuth-d3abc25d045d0470f10a764d73d1eec8747ef1a3.zip
DotNetOpenAuth-d3abc25d045d0470f10a764d73d1eec8747ef1a3.tar.gz
DotNetOpenAuth-d3abc25d045d0470f10a764d73d1eec8747ef1a3.tar.bz2
Move the bool assignment inside the try catch to allow analysis tool to pass.
-rw-r--r--src/DotNetOpenAuth.Core/Reporting.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.Core/Reporting.cs b/src/DotNetOpenAuth.Core/Reporting.cs
index d206587..80a3374 100644
--- a/src/DotNetOpenAuth.Core/Reporting.cs
+++ b/src/DotNetOpenAuth.Core/Reporting.cs
@@ -519,8 +519,8 @@ namespace DotNetOpenAuth {
SendStats();
} catch (Exception ex) {
// Something bad and unexpected happened. Just deactivate to avoid more trouble.
- broken = true;
try {
+ broken = true;
Logger.Library.Error("Error while trying to submit statistical report.", ex);
} catch (Exception) {
// swallow exceptions to prevent a crash.