def clean_up(self, cmd, result, err):
self.log.debug('<STR_LIT>', cmd.__class__.__name__)<EOL>if err:<EOL><INDENT>self.log.debug('<STR_LIT>', err)<EOL><DEDENT>
Called after command execution; `err` is an unhandled exception, or `None`.