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
In poll_for_updates, errors are consumed and a fixed log message is printed instead. For example, if the HTTP request fails it simply prints warn!("poll: failed to retrieve features"). This is unhelpful for debugging. It'd be helpful to print the particulars of the error.
Background
I am currently attempting to use unleash-api-client in a cloud-hosted project. It has started sporadically failing, but without information on the particulars I can't easily debug it.
Solution suggestions
It'd be a case-by-case basis, but generally would just need to include a debug-formatted version of the originating error.
The text was updated successfully, but these errors were encountered:
Hey, @skairunner 👋🏼 Thanks for the request and thanks for the proposed changes too ☺️ That sounds like a great suggestion to me, so I'm all for it! But I'll need to align with the rest of the team internally. We should be able to get back to with some more info some time tomorrow at latest, I think. Is that alright? 😄
Describe the feature request
In
poll_for_updates
, errors are consumed and a fixed log message is printed instead. For example, if the HTTP request fails it simply printswarn!("poll: failed to retrieve features")
. This is unhelpful for debugging. It'd be helpful to print the particulars of the error.Background
I am currently attempting to use unleash-api-client in a cloud-hosted project. It has started sporadically failing, but without information on the particulars I can't easily debug it.
Solution suggestions
It'd be a case-by-case basis, but generally would just need to include a debug-formatted version of the originating error.
The text was updated successfully, but these errors were encountered: