diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-12-24 22:20:35 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-12-24 22:20:35 -0800 |
commit | e95fd9bcd6dbfd4f40056847dde54f600d7144a1 (patch) | |
tree | c5082703bdd2d930962b4af4bb9c49a7ad56b00c /src/DotNetOpenAuth.Core/Reporting.cs | |
parent | de8497efbe0cc8ce84e3cd9c08391afa486c41ab (diff) | |
parent | cf3170cf207ffa6776ccc07d4c143bd039b18025 (diff) | |
download | DotNetOpenAuth-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.cs | 8 |
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. + } } }); } |