Skip to content

Commit d5fee35

Browse files
chore: Remove confusing check serverUrl 404 error message
1 parent 19ed481 commit d5fee35

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
## [Unreleased]
88
### Changed
99
- Updated three tests to be less flakey and reflect new behavior regarding the model type.
10+
- Improved `NotFoundException` error message by removing the misleading "check server_url" suggestion.
1011

1112
### Security
1213
- Updated dependencies to fix CVE-2025-66418 and CVE-2025-66471

deepl/translator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def _raise_for_status(
199199
http_status_code=status_code,
200200
)
201201
raise DeepLException(
202-
f"Not found, check server_url{message}",
202+
f"Not found{message}",
203203
http_status_code=status_code,
204204
)
205205
elif status_code == http.HTTPStatus.BAD_REQUEST:

0 commit comments

Comments
 (0)