Author: fmantek
Date: Thu Nov 15 02:59:14 2007
New Revision: 320
Modified:
trunk/clients/cs/src/core/gauthrequest.cs
Log:
Fixed issue 93 - in some cases we would rethrow an exception and loose
the stack trace. Only important for debugging.
Modified: trunk/clients/cs/src/core/gauthrequest.cs
==============================================================================
--- trunk/clients/cs/src/core/gauthrequest.cs (original)
+++ trunk/clients/cs/src/core/gauthrequest.cs Thu Nov 15 02:59:14 2007
@@ -659,7 +659,7 @@
// only redirect for GET, else throw
if (http.Method != HttpMethods.Get)
{
- throw re;
+ throw;
}
}
}
@@ -673,7 +673,7 @@
if (iRetrying > this.factory.NumberOfRetries)
{
Tracing.TraceMsg("Got no response object");
- throw re;
+ throw;
}
Tracing.TraceMsg("Let's retry this");
// only reset the base, the auth cookie is still valid
@@ -684,7 +684,7 @@
catch (Exception e)
{
Tracing.TraceCall("*** EXCEPTION " + e.GetType().Name
+ " CAUGTH ***");
- throw e;
+ throw;
}
finally
{
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---