diff --git a/src/Entity/Browser/Container/Page.php b/src/Entity/Browser/Container/Page.php index b8ec9c3e..2e0a9304 100644 --- a/src/Entity/Browser/Container/Page.php +++ b/src/Entity/Browser/Container/Page.php @@ -242,7 +242,11 @@ class Page default: - throw new \Exception( + $this->title->setValue( + _('Oops!') + ); + + $this->content->setPlain( _('MIME type not supported') ); }