Fix missing f-string in loop util (#120800)

This commit is contained in:
J. Nick Koston 2024-06-29 00:01:18 -05:00 committed by GitHub
parent 5995459de5
commit 04ab74589a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -106,10 +106,10 @@ def raise_for_blocking_call(
if strict:
raise RuntimeError(
"Caught blocking call to {func.__name__} with args "
f"{mapped_args.get('args')} inside the event loop by"
f"Caught blocking call to {func.__name__} with args "
f"{mapped_args.get('args')} inside the event loop by "
f"{'custom ' if integration_frame.custom_integration else ''}"
"integration '{integration_frame.integration}' at "
f"integration '{integration_frame.integration}' at "
f"{integration_frame.relative_filename}, line {integration_frame.line_number}:"
f" {integration_frame.line}. (offender: {offender_filename}, line "
f"{offender_lineno}: {offender_line}), please {report_issue}\n"