Skip to content
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

fix missing error msg #1378

Merged
merged 1 commit into from
Apr 22, 2024
Merged

fix missing error msg #1378

merged 1 commit into from
Apr 22, 2024

Conversation

sreway
Copy link
Contributor

@sreway sreway commented Apr 21, 2024

This PR fixes missing JIRA error msg, related to #1363

Error handling can also be simplified as follows:

if 400 <= response.status_code < 600:
    raise HTTPError(response.text, response=response)
else:
    response.raise_for_status()

@gonchik gonchik merged commit 27275fe into atlassian-api:master Apr 22, 2024
9 of 10 checks passed
leplatrem added a commit to mozilla/jira-bugzilla-integration that referenced this pull request Jun 6, 2024
github-actions bot pushed a commit to mozilla/jira-bugzilla-integration that referenced this pull request Jun 6, 2024
* Bump the minor-patch group across 1 directory with 7 updates

Bumps the minor-patch group with 7 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [pydantic](https://github.com/pydantic/pydantic) | `2.7.1` | `2.7.2` |
| [uvicorn](https://github.com/encode/uvicorn) | `0.29.0` | `0.30.1` |
| [atlassian-python-api](https://github.com/atlassian-api/atlassian-python-api) | `3.41.11` | `3.41.13` |
| [requests](https://github.com/psf/requests) | `2.32.0` | `2.32.3` |
| [coverage](https://github.com/nedbat/coveragepy) | `7.5.1` | `7.5.3` |
| [types-requests](https://github.com/python/typeshed) | `2.31.0.20240406` | `2.32.0.20240602` |
| [ruff](https://github.com/astral-sh/ruff) | `0.4.4` | `0.4.7` |



Updates `pydantic` from 2.7.1 to 2.7.2
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](pydantic/pydantic@v2.7.1...v2.7.2)

Updates `uvicorn` from 0.29.0 to 0.30.1
- [Release notes](https://github.com/encode/uvicorn/releases)
- [Changelog](https://github.com/encode/uvicorn/blob/master/CHANGELOG.md)
- [Commits](encode/uvicorn@0.29.0...0.30.1)

Updates `atlassian-python-api` from 3.41.11 to 3.41.13
- [Release notes](https://github.com/atlassian-api/atlassian-python-api/releases)
- [Commits](atlassian-api/atlassian-python-api@3.41.11...3.41.13)

Updates `requests` from 2.32.0 to 2.32.3
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](psf/requests@v2.32.0...v2.32.3)

Updates `coverage` from 7.5.1 to 7.5.3
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](nedbat/coveragepy@7.5.1...7.5.3)

Updates `types-requests` from 2.31.0.20240406 to 2.32.0.20240602
- [Commits](https://github.com/python/typeshed/commits)

Updates `ruff` from 0.4.4 to 0.4.7
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@v0.4.4...v0.4.7)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-patch
- dependency-name: uvicorn
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-patch
- dependency-name: atlassian-python-api
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-patch
- dependency-name: requests
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-patch
- dependency-name: coverage
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-patch
- dependency-name: types-requests
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-patch
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Remove hack now that atlassian-api/atlassian-python-api#1378 was fixed

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mathieu Leplatre <[email protected]>
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.

None yet

2 participants