From 55a8ed1035ce405ed0c305a88c9b860a60ada838 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?junh=5Feee=28=EC=9D=B4=EC=A4=80=ED=9D=AC=29?= Date: Mon, 26 Sep 2022 11:30:18 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B7=B8=EB=A3=B9=EB=AA=85=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=EC=8B=9C=20=EC=A4=91=EB=B3=B5=EB=84=A4=EC=9E=84=20?= =?UTF-8?q?=EA=B0=80=EB=8A=A5=20=ED=98=84=EC=83=81=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/basis/group/sagas/basisGroupSaga.ts | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/modules/basis/group/sagas/basisGroupSaga.ts b/src/modules/basis/group/sagas/basisGroupSaga.ts index d945ee1..f756b95 100644 --- a/src/modules/basis/group/sagas/basisGroupSaga.ts +++ b/src/modules/basis/group/sagas/basisGroupSaga.ts @@ -204,7 +204,19 @@ function* updateGroupSaga( }) ); } else { - throw Error; + // throw Error; + if (data.errorCode === 'DT002') { + yield put( + MessageActions.IS_ERROR({ + errorCode: ERROR_MESSAGE.code, + errorMessage: data.errorMessage + ' (그룹명)', + isHistoryBack: false, + isRefresh: false + }) + ); + } else { + throw Error; + } } } catch (error) { yield put(