allow dynamic export types (#703)

This commit is contained in:
Simone Gasparini
2019-04-25 19:33:06 +02:00
committed by Kevin Papst
parent ccf4e32523
commit f0f757cf75
4 changed files with 6 additions and 18 deletions

View File

@@ -128,7 +128,7 @@ class ExportController extends AbstractController
// this code should not be reached, as the query already filters invalid values
// when trying to call setType() with an unknown value
if (null === $renderer) {
throw $this->createNotFoundException('Invalid export renderer');
throw $this->createNotFoundException('Unknown export renderer');
}
$entries = $this->getEntries($query);