Skip to content

Commit eaed0cd

Browse files
authored
Fix string interpolation in setup invoke task (#41753)
### What does this PR do? This PR fixes the string interpolation in the setup invoke task. ### Motivation See the error when doing the setup. ### Describe how you validated your changes Run `dda inv setup.setup` ### Additional Notes
1 parent 8310f2c commit eaed0cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,8 @@ def install_go_tools(ctx) -> SetupResult:
249249
from tasks import install_tools
250250

251251
install_tools(ctx)
252-
except Exception:
253-
message = "Go tools setup failed: {e}"
252+
except Exception as e:
253+
message = f'Go tools setup failed: {e}'
254254
status = Status.FAIL
255255

256256
return SetupResult("Install Go tools", status, message)

0 commit comments

Comments
 (0)