Skip to content

Commit c4221dc

Browse files
chore: Remove confusing check serverUrl 404 error message
1 parent 290842e commit c4221dc

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
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
### Changed
99
- Updated `testModelType()` to just check if the `model_type_used` is non-null if the `model_type` is specified in the request
1010
- Updated `testMixedDirectionText()` to add a missing `</p>` tag
11+
- Improved `NotFoundException` error message by removing the misleading "check server_url" suggestion.
1112

1213
## [1.14.0] - 2025-12-10
1314
### Added

deepl-java/src/main/java/com/deepl/api/Translator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,7 @@ protected void checkResponse(
10631063
if (usingGlossary) {
10641064
throw new GlossaryNotFoundException("Glossary not found" + messageSuffix);
10651065
} else {
1066-
throw new NotFoundException("Not found, check serverUrl" + messageSuffix);
1066+
throw new NotFoundException("Not found" + messageSuffix);
10671067
}
10681068
case 429:
10691069
throw new TooManyRequestsException(

0 commit comments

Comments
 (0)