Our state of the art Gantt chart


Post by ringsy »

Hi Team,
When ever there is an error in Data, ui is throwing error like below

sampleerror.png
sampleerror.png (24.67 KiB) Viewed 248 times

.

Is it possible to stop this behavior, so that ui will not show error to client instead we can print in console?

Last edited by ringsy on Thu Oct 21, 2021 6:53 am, edited 1 time in total.

Post by mats »

Sure, you can listen to unhandledrejection event on window.

Docs: https://developer.mozilla.org/en-US/docs/Web/API/Window/unhandledrejection_event

But for sure it's better that you clean your data before loading it to the Gantt.


Post Reply