Re-raise authentication errors
This commit is contained in:
parent
c43df9e97f
commit
99e6e9392a
1 changed files with 4 additions and 0 deletions
|
@ -93,6 +93,8 @@ class Adonis:
|
|||
|
||||
try:
|
||||
result = self.requestCrewPortal("DG_ProfilePictureRead", data)
|
||||
except AdonisAuthenticationDeniedError:
|
||||
raise
|
||||
except AdonisError:
|
||||
return None
|
||||
|
||||
|
@ -120,6 +122,8 @@ class Adonis:
|
|||
|
||||
try:
|
||||
result = self.requestIntegration("GNL_APMCrewListViews", data)
|
||||
except AdonisAuthenticationDeniedError:
|
||||
raise
|
||||
except AdonisError:
|
||||
result = None
|
||||
|
||||
|
|
Loading…
Reference in a new issue