[WEB-831] fix: sentry issue and code refactor (#4063)

* chore: unnecessary console log removed

* chore: in_use sentry issue resolved

* chore: detail sentry issue resolved

* fix: updated project logo validation in project icon

---------

Co-authored-by: gurusainath <gurusainath007@gmail.com>
This commit is contained in:
Anmol Singh Bhatia 2024-03-26 15:13:26 +05:30 committed by GitHub
parent 7452e40134
commit ea728a385f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 18 additions and 16 deletions

View file

@ -73,7 +73,7 @@ export const BaseCalendarRoot = observer((props: IBaseCalendarRoot) => {
setToast({
title: "Error",
type: TOAST_TYPE.ERROR,
message: err.detail ?? "Failed to perform this action",
message: err?.detail ?? "Failed to perform this action",
});
});
}

View file

@ -143,7 +143,7 @@ export const BaseKanBanRoot: React.FC<IBaseKanBanLayout> = observer((props: IBas
setToast({
title: "Error",
type: TOAST_TYPE.ERROR,
message: err.detail ?? "Failed to perform this action",
message: err?.detail ?? "Failed to perform this action",
});
});
}