summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Core/Reporting.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-12-24 22:20:35 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2012-12-24 22:20:35 -0800
commite95fd9bcd6dbfd4f40056847dde54f600d7144a1 (patch)
treec5082703bdd2d930962b4af4bb9c49a7ad56b00c /src/DotNetOpenAuth.Core/Reporting.cs
parentde8497efbe0cc8ce84e3cd9c08391afa486c41ab (diff)
parentcf3170cf207ffa6776ccc07d4c143bd039b18025 (diff)
downloadDotNetOpenAuth-e95fd9bcd6dbfd4f40056847dde54f600d7144a1.zip
DotNetOpenAuth-e95fd9bcd6dbfd4f40056847dde54f600d7144a1.tar.gz
DotNetOpenAuth-e95fd9bcd6dbfd4f40056847dde54f600d7144a1.tar.bz2
Merge branch 'v4.1'
Diffstat (limited to 'src/DotNetOpenAuth.Core/Reporting.cs')
-rw-r--r--src/DotNetOpenAuth.Core/Reporting.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth.Core/Reporting.cs b/src/DotNetOpenAuth.Core/Reporting.cs
index 951bb7c..80a3374 100644
--- a/src/DotNetOpenAuth.Core/Reporting.cs
+++ b/src/DotNetOpenAuth.Core/Reporting.cs
@@ -519,8 +519,12 @@ namespace DotNetOpenAuth {
SendStats();
} catch (Exception ex) {
// Something bad and unexpected happened. Just deactivate to avoid more trouble.
- Logger.Library.Error("Error while trying to submit statistical report.", ex);
- broken = true;
+ try {
+ broken = true;
+ Logger.Library.Error("Error while trying to submit statistical report.", ex);
+ } catch (Exception) {
+ // swallow exceptions to prevent a crash.
+ }
}
});
}