summaryrefslogtreecommitdiffstats
path: root/samples/OAuthServiceProvider/Code/OAuthAuthorizationManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'samples/OAuthServiceProvider/Code/OAuthAuthorizationManager.cs')
-rw-r--r--samples/OAuthServiceProvider/Code/OAuthAuthorizationManager.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/samples/OAuthServiceProvider/Code/OAuthAuthorizationManager.cs b/samples/OAuthServiceProvider/Code/OAuthAuthorizationManager.cs
index 2d942b5..8f30f0c 100644
--- a/samples/OAuthServiceProvider/Code/OAuthAuthorizationManager.cs
+++ b/samples/OAuthServiceProvider/Code/OAuthAuthorizationManager.cs
@@ -9,6 +9,7 @@
using System.ServiceModel.Security;
using System.Threading.Tasks;
using DotNetOpenAuth;
+ using DotNetOpenAuth.Logging;
using DotNetOpenAuth.OAuth;
/// <summary>
@@ -56,7 +57,7 @@
}
}
} catch (ProtocolException ex) {
- Global.Logger.Error("Error processing OAuth messages.", ex);
+ Global.Logger.ErrorException("Error processing OAuth messages.", ex);
}
return false;