error out if the rebase fails