Skip to content

Commit

Permalink
error handling update
Browse files Browse the repository at this point in the history
  • Loading branch information
bibash28 committed Apr 25, 2024
1 parent f79d7df commit 94a482c
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -560,16 +560,10 @@ class ConfirmTokenTransactionCubit extends Cubit<ConfirmTokenTransactionState> {
emit(state.success());
}
} catch (e, s) {
emit(
state.error(
messageHandler: ResponseMessage(
message: ResponseString
.RESPONSE_STRING_SOMETHING_WENT_WRONG_TRY_AGAIN_LATER,
),
),
);
getLogger(runtimeType.toString())
.e('error in transferOperation , e: $e, s: $s');

rethrow;
}
}

Expand Down

0 comments on commit 94a482c

Please sign in to comment.