Should the messageType be "error", such that Y.log prints the exception in red? That would make the exception easier to spot.