Skip to content
  • Michael Hanselmann's avatar
    Fix bug in watcher · a0aa6b49
    Michael Hanselmann authored
    
    
    If “utils.RunParts” were to raise an exception, a log message was
    written and the code continued to run. Due to the exception the
    “results” variable would not be defined.
    
    Also change the code to log a backtrace (getting an exception is rather
    unlikely and having a backtrace is useful) and update one comment.
    
    Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
    Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
    a0aa6b49