Skip to content

Commit

Permalink
Avoid superfluous logging to Rollbar.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchell-as committed Dec 19, 2023
1 parent ead9512 commit 55bf4a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/updater/updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,8 @@ func (u *UpdateInstaller) InstallBlocking(installTargetPath string, args ...stri
multilog.Error("Unable to remove update directory '%s': %v", updateDir, err)
}
} else {
multilog.Error("Update directory structure has changed without updating it here, too. "+
// Do not report to rollbar, but log the error for our integration tests to catch.
logging.Error("Did not remove temporary update directory. "+
"installerPath: %s\nupdateDir: %s\nExpected a 'state-update' prefix for the latter", installerPath, updateDir)
}

Expand Down

0 comments on commit 55bf4a9

Please sign in to comment.