Skip to content

Conversation

@myronwalkersonos
Copy link

Only try to ouput the status code for request if request is not None

The request.status_code line is only valid if request is not null, this line belongs in the for loop where request can potentially have meaning when it is not None but has a failing status code.
Move to out of loop but inside of an if check so we don't log too much.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant