We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70407b2 commit 7f3e25bCopy full SHA for 7f3e25b
1 file changed
basex-core/src/main/java/org/basex/query/func/fn/FnTrace.java
@@ -26,7 +26,7 @@ public Value value(final QueryContext qc) throws QueryException {
26
qc.trace(label, input::toErrorString);
27
} else {
28
for(final Item item : input) {
29
- final Supplier<String> message = item instanceof FItem ? input::toErrorString : () -> {
+ final Supplier<String> message = item instanceof FItem ? item::toErrorString : () -> {
30
try {
31
return item.serialize(SerializerMode.DEBUG.get()).toString();
32
} catch(final QueryIOException ex) {
0 commit comments