World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[MINOR] improve(web): improve format of the error message (#2008)
CHEYNEee027a1933dd
diff --git a/web/lib/utils/axios/checkStatus.ts b/web/lib/utils/axios/checkStatus.tsindex 4567f904a8..afc1715506 100644--- a/web/lib/utils/axios/checkStatus.ts+++ b/web/lib/utils/axios/checkStatus.ts@@ -102,7 +102,7 @@ export function checkStatus(status: number, msg: string, errorMessageMode: Errorconst idx = errMessage.indexOf(keyword)if (idx !== -1) {- errMessage = 'reason ' + errMessage.substring(idx + keyword.length + 1)+ errMessage = errMessage.substring(idx + keyword.length + 1).replace(/^\[|\]$/g, '')}toast.error(errMessage, { id: `global_error_message_status_${status}` })