commit | f5d65c521c8db202cbe46e358f7c6de420de2a10 | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Thu Sep 27 11:33:24 2018 +0900 |
committer | Remi NGUYEN VAN <reminv@google.com> | Thu Sep 27 12:20:15 2018 +0900 |
tree | 0bb4ee40750175609584bacece962100d3aa7d32 | |
parent | c457d8c95ac06f5a37a6a766f06005827a454a9e [diff] |
Don't throw a NPE in SharedLog#e Some DhcpServer error code paths could cause a NPE, when the logError callback was called without an exception. Allowing SharedLog#e to be called with a null Throwable is less error-prone. Bug: b/109584964 Test: atest FrameworksNetTests Change-Id: Idbcdd330a9d1951b27aaf525aaf12e52e102872c