improve logging

This commit is contained in:
Tomáš Mládek 2021-04-22 11:32:39 +02:00
parent 50b9883f99
commit bfa569853b

View file

@ -469,7 +469,7 @@ async function processScrolls(svg: XMLDocument): Promise<VideoScrollDef[]> {
direction as VideoScrollDirection
)
) {
console.error(`Unknown direction definition: "${direction}"`);
console.error(`Unknown direction definition: "${direction}" (in #${el.id})`);
return false;
}
return direction as VideoScrollDirection;