Always pass exc_info as a boolean.

Review Request #12055 — Created Feb. 12, 2022 and submitted

Information

Review Board
release-5.0.x

Reviewers

The exc_info argument to logging methods is just checked for
truthiness, but it's more correct to pass it as a bool rather than
passing in 1. This change does that for all offending calls.

Ran unit tests.

Summary ID
Always pass exc_info as a boolean.
The `exc_info` argument to logging methods is just checked for truthiness, but it's more correct to pass it as a bool rather than passing in 1. This change does that for all offending calls. Testing Done: Ran unit tests.
8ce57d696d9d82aaa7f478b4cf3197a07cbd03a8
Description From Last Updated

F821 undefined name 'path'

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

david
chipx86
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to django-3.2 (2f43386)