Skip to content

Commit 7dc7774

Browse files
committed
fix: give server_busy a defaultValue so the UI never shows the raw key
1 parent 388e24e commit 7dc7774

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

webapp/src/translationTools/useErrorTranslation.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,10 @@ export function useErrorTranslation() {
425425

426426
// Rate limiting
427427
case 'server_busy':
428-
return t('server_busy');
428+
return t(
429+
'server_busy',
430+
'The server is busy right now. Please try again in a moment.'
431+
);
429432
case 'too_many_requests':
430433
return t('too_many_requests');
431434
case 'rate_limited':

0 commit comments

Comments
 (0)