Skip to content

Commit cd42665

Browse files
committed
linting
1 parent 45f659e commit cd42665

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sentry_sdk/integrations/logging.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,9 @@ def _emit(self, record):
249249
event["logentry"] = {
250250
"message": to_string(record.msg),
251251
"params": (
252-
tuple(to_string(arg) if arg is None else arg for arg in record.args) if record.args else ()
252+
tuple(to_string(arg) if arg is None else arg for arg in record.args)
253+
if record.args
254+
else ()
253255
),
254256
}
255257

0 commit comments

Comments
 (0)