diff --git a/src/qlever/commands/example_queries.py b/src/qlever/commands/example_queries.py index 8fcfd18d..716e1826 100644 --- a/src/qlever/commands/example_queries.py +++ b/src/qlever/commands/example_queries.py @@ -374,7 +374,6 @@ def execute(self, args) -> bool: f'jq -r ".results.bindings | length"' f" {result_file}", return_output=True, ) - result_size = int(result_size) except Exception as e: error_msg = { "short": "Malformed JSON", @@ -390,6 +389,7 @@ def execute(self, args) -> bool: description = description[: args.width_query_description - 3] description += "..." if error_msg is None: + result_size = int(result_size) log.info( f"{description:<{args.width_query_description}} " f"{time_seconds:6.2f} s "