Allow #markup_unsafe to handle StandardError
Our markup renderers are capable of raising errors other than RuntimeError, for example, the exception raised in https://gitlab.com/gitlab-org/gitlab/issues/195625 is a TypeError. This change makes #markup_unsafe catch StandardError. It also adds tracking for the exception so the error will be visible in Sentry.
Showing
Please register or sign in to comment