commit | 0b7c2c4135ae328365fc58dc8ba75c861bb88c99 | [log] [tgz] |
---|---|---|
author | Joanne Chung <joannechung@google.com> | Fri Aug 16 16:55:11 2019 +0800 |
committer | Joanne Chung <joannechung@google.com> | Wed Aug 21 16:47:53 2019 +0800 |
tree | e862c19c58535d7e0fc601763ecdfef850fe5c49 | |
parent | 3cd1e48e9d457eb0ee88d51edd9c7e811e81a5eb [diff] |
Log the error of TCS, TCMS and SysTC. TextClassifierService passes the error message to onFailure() when it fails to process the task. But the error message was dropped at TextClassifierService right away which makes debugging hard. Log the error at the place where the error happens to help debugging. Bug: 139114128 Test: Manual. Use DefaultTCService to pass error message and make sure the error log is printed. Change-Id: I7c848a6e96db85d6e5b4f90ee9677dfe5b703149