Any way to ignore build on branch delete?

I have my configs linked to a vcs root but am using a parameter to point to a branch within that VCS root.  I am listening for changes or check-ins in that branch to trigger builds.  the problem is it also triggers a build on delete, which causes a TeamCity error as it can't find the branch anymore.  Is there any way to ignore a delete?  Or should I just make sure there is a comment on the delete that causes it to ignore it?

Please sign in to leave a comment.