Reported error if switching branch fails