Skip to content

Allow #markup_unsafe to handle StandardError and notify exception

What does this MR do?

This change makes #markup_unsafe catch StandardError instead of RuntimeError, as our markup renderers are capable of raising errors other than RuntimeError. For example, the exception raised in #195625 (closed) is a TypeError.

It also adds tracking for the exception, so the exception will become visible in Sentry.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by 🤖 GitLab Bot 🤖

Merge request reports