In Events table we can see sometimes:
when event/log provides `error_causes` field.
For some reason on clicking the icon (file + magnifier) modal with details is not displayed as it was before.
I reported that one thinking there’s something broken in UI, but I found that the reason for the problem is that we actually have nothing to show as we get error_causes: .
Normally we get null and that case we handle properly by not showing “Show Error Cause” icon and modal at all.
Is that correct behavior for the backend side? Should UI handle empty array the same way as null?
After discussion - I’m going to improve handling of that special case (error_causes: ), probably by using _.isEmpty function to check the content of error_causes instead of only checking if it is equal to null.