Permalink
Browse files

Fix error handling bug

  • Loading branch information...
1 parent 186577e commit d38d40878cd5f2d096418ce3d6da01d245907f07 @mythz mythz committed Sep 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ServiceStack.ServiceInterface/ServiceBase.cs
@@ -254,7 +254,7 @@ public object Execute(TRequest request)
/// <returns></returns>
protected virtual object HandleException(TRequest request, Exception ex)
{
- var errorResponse = ErrorHandler.Instance.HandleException(appHost, request, ex);
+ var errorResponse = ErrorHandler.Instance.HandleException(GetAppHost(), request, ex);
AfterEachRequest(request, errorResponse ?? ex);
return errorResponse;
}

0 comments on commit d38d408

Please sign in to comment.