When logging a ui error the logger was trying to use type=ui which is invalid, throwing another exception...
type=ui