Skip to content

Commit

Permalink
print problem queries
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita-Smirnov-Exactpro committed Feb 6, 2025
1 parent a029051 commit 373fe2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ execute_and_copy_result() {
fi

while IFS=: read -r file line_num error_type; do
echo "ERROR: ${error_type} happened for query: $(sed -n "${line_num}p" "${file}")" >&2
echo "ERROR: ${error_type} happened for query: $(sed -n "$((line_num - 1))p" "${file}")" >&2
done < "${error_file}"

remove_file "${temp_file}"
Expand Down

0 comments on commit 373fe2a

Please sign in to comment.