displaying error exit code when rebasing