The exception later gets catched and logged in the system log. The insert tag then will not become generated. However, with the current version an error gets thrown, that will not be catched.
Fixes https://sentry.io/share/issue/81080c608c6d4d6b86464e2113dc6a00/.