-
Notifications
You must be signed in to change notification settings - Fork 24
Add error handling and logging improvements across various app checks #182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
You can find the built app under the Artifacts at https://github.com/ParetoSecurity/pareto-mac/actions/runs/15323050497 |
You can find the built app under the Artifacts at https://github.com/ParetoSecurity/pareto-mac/actions/runs/15320368496 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR improves error handling and logging across the app’s various version check mechanisms by introducing and utilizing the hasError property. Key changes include updating CFBundleVersion in the app plist, adding hasError flag updates in multiple AppCheck subclasses, and refining update logic in application update checks.
Reviewed Changes
Copilot reviewed 30 out of 30 changed files in this pull request and generated 2 comments.
Show a summary per file
File | Description |
---|---|
Pareto/Info.plist | Updated CFBundleVersion from 5664 to 5709 |
Pareto/Checks/Zoom.swift, VSCode.swift, SublimeText.swift, etc. | Added error flag (hasError) setting on failure |
Pareto/Checks/ParetoCheck.swift | Introduced hasError property and resets it before check execution |
Pareto/Checks/Claim.swift | Added computed property checksNoError with combined check logic |
Pareto/Checks/Application Updates/ParetoUpdated.swift | Enhanced release filtering and logging with hasError on failure |
- Introduced `hasError` property in `AppCheck` and its subclasses to track errors during version checks.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
f212c76
to
635f53d
Compare
hasError
property inAppCheck
and its subclasses to track errors during version checks.Can be merged before Dash changes, but not released.
ref: https://github.com/teamniteo/pareto/issues/715