Skip to content

Commit fd655d9

Browse files
chore: Remove confusing check serverUrl 404 error message
1 parent 5943d29 commit fd655d9

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 populated 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.16.0] - 2025-12-10
1314
### Added

src/Translator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ protected function checkStatusCode(array $response, bool $inDocumentDownload = f
763763
if ($usingGlossary) {
764764
throw new GlossaryNotFoundException("Glossary not found$message");
765765
}
766-
throw new NotFoundException("Not found, check server_url$message");
766+
throw new NotFoundException("Not found$message");
767767
case 400:
768768
throw new DeepLException("Bad request$message");
769769
case 429:

0 commit comments

Comments
 (0)