Merge pull request #17562 from nextcloud/techdebt/17509/log-error-when-setting-up-application-incorrectly Log an error in development cases when the application class was set …