Page not found, caused by missing file in block

I’m not sure if this is a bug, but I noticed that when a file referenced by a (link: …) KirbyTag inside a block is missing, the page redirects to the error page.
(With missing I mean that the uuid is technically there, but there is no file matching the uuid)

When I remove the KirbyTag, I can access the page again.

I’m using Kirby 5 in a multilingual setup.

This also happens with a fresh Starter Kit.

Maybe the heatwave is melting my brain away, but I don’t think a missing file in a textbox should cause a redirect to the error page.

Does it only happen when debug mode is on?

Seems to be this issue: Link tag with unresolved UUID shows error page in debug mode · Issue #7426 · getkirby/kirby · GitHub

You are right, this happens only if

    'debug' => true,

thank you for your feedback.
If it only happens in the debug mode, it’s not super important for my website.