Awful errorhandling if a .one file is opened - search for advice disabling .one extensions

Hi,

I saved a one note file in my nextcloud instance and I klicked on it, suddenly it got handled with collabora
and I got an internal server error.

In the logs you get:

Error richdocuments Exception: Could not find urlsrc in WOPI

I understand that collabora is not made to handle one note files,
so can I somehow disable handling a file type, which leads to a nasty error message?