Log exception (ex.cause is empty)