TF-1899 Add failure param when handleExceptionAction
(cherry picked from commit 3e87b9fb2c17ebc6524003d3587be02317a7a768)
This commit is contained in:
@@ -74,9 +74,9 @@ class SessionController extends ReloadableController {
|
||||
}
|
||||
|
||||
@override
|
||||
void handleExceptionAction(Exception exception) {
|
||||
super.handleExceptionAction(exception);
|
||||
if (PlatformInfo.isMobile && exception is NoNetworkError) {
|
||||
void handleExceptionAction({Failure? failure, Exception? exception}) {
|
||||
super.handleExceptionAction(failure: failure, exception: exception);
|
||||
if (PlatformInfo.isMobile && failure is GetSessionFailure && exception is NoNetworkError) {
|
||||
_handleGetStoredSession();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user