Fix error when ignoring controller exceptions