Skip to content

Commit

Permalink
Improve error message when binding methods (#331)
Browse files Browse the repository at this point in the history
Co-authored-by: Bas Conijn <[email protected]>
  • Loading branch information
BasConijn and Bas Conijn authored Jul 6, 2024
1 parent 557a7a1 commit b92259d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ protected virtual bool TryBind<TService, TRequest, TResponse>(ServiceBindContext
}
catch (Exception ex)
{
OnError(ex.Message);
OnError("When binding method \"{0}\". Message: {1}", [method.Name, ex.Message]);
return false;
}
}
Expand Down

0 comments on commit b92259d

Please sign in to comment.