Description
Currently, if a batch session failed, one way to diagnosis is fetch all logs, then search exception or errors in log. If log content is long, it's very inconvenient. Better to add a new field `exception` in batch session to only exceptions or errors.