fixing issue where failed syncs are not detected
Merge pull request #17 from jlsherrill/failed_sync

fixing issue where failed syncs are not detected