mik-laj commented on a change in pull request #9861:
URL: https://github.com/apache/airflow/pull/9861#discussion_r456127240
##########
File path: airflow/providers/google/cloud/log/gcs_task_handler.py
##########
@@ -165,7 +165,7 @@ def gcs_write(self, log, remote_log_location, append=True):
tmpfile.flush()
self.hook.upload(bkt, blob, tmpfile.name)
except Exception as e: # pylint: disable=broad-except
- self.log.error('Could not write logs to %s: %s',
remote_log_location, e)
+ self.log.error(f'Could not write logs to {remote_log_location}:
{e}')
Review comment:
It's not correct.
http://pylint-messages.wikidot.com/messages:w1201
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]