kszucs commented on code in PR #45629:
URL: https://github.com/apache/arrow/pull/45629#discussion_r1990897406


##########
dev/archery/archery/bot.py:
##########
@@ -291,11 +291,9 @@ def handle_issue_comment(self, command, payload):
                          comment=comment)
         except Exception as e:
             logger.exception(e)
-            url = "{server}/{repo}/actions/runs/{run_id}".format(
-                server=os.environ["GITHUB_SERVER_URL"],
-                repo=os.environ["GITHUB_REPOSITORY"],
-                run_id=os.environ["GITHUB_RUN_ID"],
-            )
+            url = (f"{os.environ['GITHUB_SERVER_URL']}/"

Review Comment:
   I actually prefer the old version here, I think is is more readable with the 
placeholders.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to