Skip to content

Commit fb2b59b

Browse files
committed
chore: mention collection that could not be found
Makes debugging easier
1 parent 4367fa5 commit fb2b59b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/api.xq

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ declare %private function api:get-collection-config($collection as xs:string?) a
551551
if (empty($git-collection))
552552
then error((), "git collection not found!")
553553
else if (empty($collection-config))
554-
then error((), "collection config not found!")
554+
then error((), "collection config " || $git-collection || " not found!")
555555
else $collection-config
556556
};
557557

0 commit comments

Comments
 (0)