summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/DotNetOpenAuth.Test/Performance/HighPerformance.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.Test/Performance/HighPerformance.cs b/src/DotNetOpenAuth.Test/Performance/HighPerformance.cs
index 7488d56..32293b2 100644
--- a/src/DotNetOpenAuth.Test/Performance/HighPerformance.cs
+++ b/src/DotNetOpenAuth.Test/Performance/HighPerformance.cs
@@ -127,7 +127,8 @@ namespace DotNetOpenAuth.Test.Performance {
Guid newPolicy = value;
int result = PowerSetActiveScheme(IntPtr.Zero, ref newPolicy);
if (result != 0) {
- throw new Win32Exception(result);
+ TestUtilities.TestLogger.ErrorFormat("Unable to set power management policy. Error code: {0}", result);
+ ////throw new Win32Exception(result);
}
}
}