Refactors setController to log on unfound intended and App controller.