commit | 586c141db06dd0fc02bf29dac0ffed840c53b70a | [log] [tgz] |
---|---|---|
author | Dariusz Luksza <dariusz@luksza.org> | Tue Mar 08 15:28:30 2016 +0100 |
committer | Dariusz Luksza <dariusz@luksza.org> | Tue Mar 08 15:42:59 2016 +0100 |
tree | af68f65bf1d122730eb427c3792c29b982fb5e44 | |
parent | c3b2af8e068e7706159b2152d4d8c9e74f34125e [diff] |
Prevent NPE in the SshLog This NPE can happen when command was destroyed (probably by user canceling the ssh operation) using CommandFactoryProvider.onDestroy before it was even logged. In this case we provide meaningful audit entry instead of not-so-nice NPE with stack trace in the logs. Change-Id: If15a9475a4d98ade9a263b4ed4dcf5a1dd694731 Signed-off-by: Dariusz Luksza <dariusz@luksza.org>