Skip to content

Commit

Permalink
Fix error handling bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Sep 20, 2012
1 parent 186577e commit d38d408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ServiceStack.ServiceInterface/ServiceBase.cs
Expand Up @@ -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;
}
Expand Down

0 comments on commit d38d408

Please sign in to comment.