[지라이슈없음] errorCode에 retDetailCode가 있을 경우 에러코드 노출 방식 변경
This commit is contained in:
@@ -547,8 +547,9 @@ export const getErrorMessage = (errorCode, retMsg, retDetailCode) => {
|
||||
group.codes.includes(Number(errorCode))
|
||||
);
|
||||
|
||||
const errorPrefix =
|
||||
errorCode || retDetailCode ? `[${retDetailCode || errorCode}] ` : "";
|
||||
const errorPrefix = retDetailCode
|
||||
? `[${errorCode}-${retDetailCode}] `
|
||||
: `[${errorCode}] `;
|
||||
|
||||
if (group) {
|
||||
return errorPrefix + group.message;
|
||||
|
||||
Reference in New Issue
Block a user