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:
|
try:
|
||||||
result = self.requestCrewPortal("DG_ProfilePictureRead", data)
|
result = self.requestCrewPortal("DG_ProfilePictureRead", data)
|
||||||
|
except AdonisAuthenticationDeniedError:
|
||||||
|
raise
|
||||||
except AdonisError:
|
except AdonisError:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
@ -120,6 +122,8 @@ class Adonis:
|
||||||
|
|
||||||
try:
|
try:
|
||||||
result = self.requestIntegration("GNL_APMCrewListViews", data)
|
result = self.requestIntegration("GNL_APMCrewListViews", data)
|
||||||
|
except AdonisAuthenticationDeniedError:
|
||||||
|
raise
|
||||||
except AdonisError:
|
except AdonisError:
|
||||||
result = None
|
result = None
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue