Permalink
Browse files

Addressed code review comments

  • Loading branch information...
1 parent 1bf0841 commit 806ee5c6b1ee360a42907ce131b14259cfc279b0 @HenrikFrystykNielsen HenrikFrystykNielsen committed with davidebbo Mar 27, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 Kudu.Services/SourceControl/LiveScmEditorController.cs
@@ -431,8 +431,8 @@ protected override Task<HttpResponseMessage> CreateItemPutResponse(FileSystemInf
}
// If we have gone through our delays and still can't get a lock then we give up and return 503
- Tracer.TraceError(String.Format("TryGetLock could not get a lock for {0} request on {1} after {2} exponential backoff attempts. Giving up.",
- Request.Method, Request.RequestUri.AbsoluteUri, delaySet.Length));
+ Tracer.TraceError(String.Format("TryGetLock could not get a lock for {0} request on {1} after {2} exponential backoff attempts. Giving up.",
+ Request.Method, Request.RequestUri.AbsolutePath, delaySet.Length));
HttpResponseMessage busyResponse = Request.CreateErrorResponse(HttpStatusCode.ServiceUnavailable, Resources.VfsController_Busy);
busyResponse.Headers.RetryAfter = new RetryConditionHeaderValue(_retryAfter);
return busyResponse;

0 comments on commit 806ee5c

Please sign in to comment.