fix(16-01): update network error message per REQ-5.3

- Change uploadAttachment error message to 'Upload failed. Please try again.'
- Provides actionable feedback to retry on network errors
- Matches exact wording from REQ-5.3
This commit is contained in:
Nuwan 2026-02-06 18:43:53 +05:30
parent 1ecc1d7987
commit 744c735817
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ export const uploadAttachment = createAsyncThunk(
if (error.status === 422) {
return rejectWithValue('Invalid file type or format');
}
return rejectWithValue(error.message || 'Upload failed');
return rejectWithValue(error.message || 'Upload failed. Please try again.');
}
}
);