Logging the response #372
Unanswered
precisemath
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to log the status code of every response like this:
The whole setup builds and runs without any errors or warnings. But there is one problem.
I "think" the function is eagerly evaluated. It always prints the status code as 200 regardless of the result.
Any guidance or sample code on how to achieve this will be hugely appreciated.
Beta Was this translation helpful? Give feedback.
All reactions