commit | c562bfb68f84b86633da61c03ebcd7ac4629ba2a | [log] [tgz] |
---|---|---|
author | David Chen <dwchen@google.com> | Fri Nov 17 17:44:33 2017 -0800 |
committer | David Chen <dwchen@google.com> | Fri Nov 17 17:46:58 2017 -0800 |
tree | f93029923d65ad6003bfaf5e72136ead2c8a44da | |
parent | 24c992479799c8330f6b837d504bac7970310947 [diff] |
Converts exceptions to log messages in StatsManager. We log if the statsd is not available instead of throwing an exception. This helps prevent a crash when calling this API since statsd is not a system service and can potentially be down. Test: Not applicable. Change-Id: I776efede4a01c751924fa9a8abd0eec0c4c1306b