Skip to content

Commit c8ffcab

Browse files
chore: Remove confusing check serverUrl 404 error message
1 parent a766982 commit c8ffcab

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
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
- Removed Node 12 from the CI as it broke and is end-of-life.
1010
- Updated our model type tests to expect the `model_type_used` to be populated when the `model_type` is specified in the request
1111
- Updated a tag handling test to add a missing `</p>` tag
12+
- Improved `NotFoundException` error message by removing the misleading "check server_url" suggestion.
1213

1314
## [1.24.0] - 2025-12-10
1415
### Added

src/translator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export async function checkStatusCode(
104104
);
105105
case 404:
106106
if (usingGlossary) throw new GlossaryNotFoundError(`Glossary not found${message}`);
107-
throw new DeepLError(`Not found, check server_url${message}`);
107+
throw new DeepLError(`Not found${message}`);
108108
case 400:
109109
throw new DeepLError(`Bad request${message}`);
110110
case 429:

0 commit comments

Comments
 (0)