Skip to content

Commit b92259d

Browse files
BasConijnBas Conijn
andauthored
Improve error message when binding methods (#331)
Co-authored-by: Bas Conijn <[email protected]>
1 parent 557a7a1 commit b92259d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/protobuf-net.Grpc/Configuration/ServerBinder.Default.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ protected virtual bool TryBind<TService, TRequest, TResponse>(ServiceBindContext
7777
}
7878
catch (Exception ex)
7979
{
80-
OnError(ex.Message);
80+
OnError("When binding method \"{0}\". Message: {1}", [method.Name, ex.Message]);
8181
return false;
8282
}
8383
}

0 commit comments

Comments
 (0)