Skip to content

Commit

Permalink
Try to fix error in Ubuntu 22.04 workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Hannah Bast committed Nov 24, 2024
1 parent 49df2dc commit 3787fdf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/qlever/commands/example_queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,11 +386,12 @@ def execute(self, args) -> bool:
error_msg["long"] = (
error_msg["long"][: args.width_error_message - 3] + "..."
)
seperator_short_long = "\n" if args.show_query == "on-error" else " "
log.info(
f"{description:<{args.width_query_description}} "
f"{colored('FAILED ', 'red')}"
f"{colored(error_msg['short'], 'red')}"
f"{'\n' if args.show_query == 'on-error' else ' '}"
f"{seperator_short_long}"
f"{colored(error_msg['long'], 'red')}"
)
if args.show_query == "on-error":
Expand Down

0 comments on commit 3787fdf

Please sign in to comment.