Don't use routes when displaying error page
Merge pull request #1865 from owncloud/fix-displaying-db-errors

Don't use routes when displaying error page