File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,9 @@ Function _clearErrorStack
107107 // ----------------------------------------------------
108108
109109
110- Function _throwErrors ($inThrowErrors : Boolean)
110+ Function _throwErrors ($inThrowErrors : Boolean) : Boolean
111+
112+ var $oldValue : Boolean:= This ._internals ._throwErrors
111113
112114 If (Bool ($inThrowErrors ))
113115 This ._internals ._throwErrors := True
@@ -118,6 +120,8 @@ Function _throwErrors($inThrowErrors : Boolean)
118120 This ._getErrorStack ().clear ()
119121 End if
120122
123+ return $oldValue
124+
121125
122126 // ----------------------------------------------------
123127
Original file line number Diff line number Diff line change @@ -26,7 +26,9 @@ Class constructor($inProvider : cs.OAuth2Provider; $inURL : Text; $inHeaders : O
2626Function _getList ($inURL : Text) : Boolean
2727
2828 Super ._throwErrors (False )
29+ var $throwErrors : Boolean:= This ._internals ._oAuth2Provider ._throwErrors (False )
2930 var $response : Object:= Super ._sendRequestAndWaitResponse ("GET" ; $inURL ; This ._internals._headers)
31+ This ._internals ._oAuth2Provider ._throwErrors ($throwErrors )
3032 Super ._throwErrors (True )
3133
3234 This .isLastPage := False
@@ -59,8 +61,8 @@ Function _getList($inURL : Text) : Boolean
5961 End if
6062 return False
6163 End if
62-
63-
64+
65+
6466 // Mark: - [Public]
6567 // ----------------------------------------------------
6668
You can’t perform that action at this time.
0 commit comments