Is there any chance to print dynamic values in an error message in a lookup block?

I am within a fetch block and the values shown in the error log are only from the query result (in my case: quote head data). This does not help! I need to see the fetch result (or at least the value it is looking for in the lookup).

(2) Answers