Skip to content

chore: app maintenance - #115

Merged
edward-ly merged 3 commits into
mainfrom
chore/app-maintenance
Sep 23, 2025
Merged

chore: app maintenance#115
edward-ly merged 3 commits into
mainfrom
chore/app-maintenance

Conversation

@edward-ly

Copy link
Copy Markdown
Contributor
  • Upgrade all workflow dependencies
  • Upgrade all project dependencies
  • Replace httpx.RequestError with niquests.HTTPError in main.py
  • Replace httpx dependency with niquests

Signed-off-by: Edward Ly <contact@edward.ly>
Signed-off-by: Edward Ly <contact@edward.ly>
Signed-off-by: Edward Ly <contact@edward.ly>

@marcelklehr marcelklehr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@edward-ly
edward-ly merged commit b7ea445 into main Sep 23, 2025
5 checks passed
@edward-ly
edward-ly deleted the chore/app-maintenance branch September 23, 2025 15:35
Comment thread lib/main.py
log(nc, LogLvl.ERROR, str(e))
nc.providers.task_processing.report_result(task["id"], error_message=str(e))
except (NextcloudException, httpx.RequestError) as net_err:
except (NextcloudException, HTTPError) as net_err:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey,

I just found out that based on https://github.com/jawah/niquests/blob/main/src/niquests/exceptions.py#L19 we may need to catch niquests.RequestException instead of just HTTPError to cover more error cases. Could you change this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants