Fixed error messages not being passed through when using a cache sync