Add a @SError right after the command in your script. Robocopy will set an error code depedent on what it did or did not do.
_________________________
Today is the tomorrow you worried about yesterday.