Fixed some issues with new db_user-returning credential check.

This commit is contained in:
2016-08-30 16:57:21 +02:00
parent 2c70ceb489
commit 73a62da8da
4 changed files with 10 additions and 7 deletions

View File

@@ -289,7 +289,7 @@ class PILLAR_OT_sync(pillar.PillarOperatorMixin,
self.bss_report({'SUBSCRIBE'}, 'Please subscribe to the Blender Cloud.')
self._state = 'QUIT'
return
except pillar.CredentialsNotSyncedError:
except pillar.UserNotLoggedInError:
self.log.exception('Error checking/refreshing credentials.')
self.bss_report({'ERROR'}, 'Please log in on Blender ID first.')
self._state = 'QUIT'