log errors when upgrade fails