make sure to reply back error to client if pre-upgrade fails

Clients connecting to liveswap will hang if the pre-upgrade step fails.