diff --git a/blender_cloud/settings_sync.py b/blender_cloud/settings_sync.py index fc166b0..235c4cd 100644 --- a/blender_cloud/settings_sync.py +++ b/blender_cloud/settings_sync.py @@ -79,7 +79,10 @@ async def get_home_project(params=None) -> pillarsdk.Project: HOME_PROJECT_ENDPOINT, params=params) except sdk_exceptions.ForbiddenAccess: log.warning('Access to the home project was denied. ' - 'Double-check that you are a cloud subscriber and logged in.') + 'Double-check that you are logged in with valid BlenderID credentials.') + raise + except sdk_exceptions.ResourceNotFound: + log.warning('No home project available.') raise @@ -376,6 +379,10 @@ class PILLAR_OT_sync(pillar.PillarOperatorMixin, self.bss_report({'ERROR'}, 'Did not get access to home project.') self._state = 'QUIT' return + except sdk_exceptions.ResourceNotFound: + self.bss_report({'ERROR'}, 'Home project not found.') + self._state = 'QUIT' + return # Only create the folder structure if we're pushing. may_create = self.action == 'PUSH'