Raise errors for sync tasks