From d87e1f42893a809b7ffe01e2164a9d8ecd9d8514 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?qkr7828=28=EB=B0=95=EC=9E=AC=EC=9A=B0=29?= Date: Thu, 15 Sep 2022 17:48:41 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B7=B8=EB=A3=B9=EB=AA=85=20=EC=A4=91?= =?UTF-8?q?=EB=B3=B5=EB=90=9C=20=EA=B2=BD=EC=9A=B0=20=EC=A4=91=EB=B3=B5?= =?UTF-8?q?=EC=95=8C=EB=A6=BC=20=EC=B6=9C=EB=A0=A5=ED=95=98=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=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 | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/modules/basis/group/sagas/basisGroupSaga.ts b/src/modules/basis/group/sagas/basisGroupSaga.ts index c5735cb..8134796 100644 --- a/src/modules/basis/group/sagas/basisGroupSaga.ts +++ b/src/modules/basis/group/sagas/basisGroupSaga.ts @@ -128,7 +128,18 @@ function* createGroupSaga( }) ); } else { - 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(