Skip to content

Commit e907984

Browse files
author
Tyschenko
committed
Update message in the thrown error
1 parent f818a76 commit e907984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apple/RNCWebViewImpl.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2082,7 +2082,7 @@ - (void)handleRegularFileDownload:(NSString *)urlString {
20822082
NSString *jsCode = [NSString stringWithFormat:
20832083
@"fetch('%@')"
20842084
".then(response => {"
2085-
" if (!response.ok) throw new Error('Network response was not ok');"
2085+
" if (!response.ok) throw new Error('Unable to download file');"
20862086
" return response.blob();"
20872087
"})"
20882088
".then(blob => {"

0 commit comments

Comments
 (0)