You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got a method that calls multiple refit client interfaces in sequence. When one of them fails, i don't get any information in the ApiException about which of the interfaces failed.
In production, the exception log's line number is the end of the method block, so i can't point to a specific part of the code either:
at Refit.RequestBuilderImplementation.<>c__DisplayClass14_0`2.<<BuildCancellableTaskFuncForMethod>b__0>d.MoveNext() in /_/Refit/RequestBuilderImplementation.cs:line 313
--- End of stack trace from previous location ---
at Namespace.Class.Method(Request request, CancellationToken ct) in /sln/Namespace/Class.cs:line 109```
Is there a way to expose the interface name to the ApiException?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've got a method that calls multiple refit client interfaces in sequence. When one of them fails, i don't get any information in the
ApiException
about which of the interfaces failed.In production, the exception log's line number is the end of the method block, so i can't point to a specific part of the code either:
Beta Was this translation helpful? Give feedback.
All reactions