summaryrefslogtreecommitdiff
path: root/ext/fetch/fs_fetch_handler.rs
diff options
context:
space:
mode:
authorIan Bull <irbull@gmail.com>2024-09-04 00:05:29 -0700
committerGitHub <noreply@github.com>2024-09-04 09:05:29 +0200
commitce6b6751028bfe08b49628a30e660ff479eded02 (patch)
treeb0262dcbfa8e40aca090486eab959f04ae725ffc /ext/fetch/fs_fetch_handler.rs
parent7079acd74d583a14f3c09e16f196a6851381439b (diff)
refactor(ext/fetch): align error messages (#25374)
Aligns the error messages in the ext/fetch folder to be in-line with the Deno style guide. https://github.com/denoland/deno/issues/25269
Diffstat (limited to 'ext/fetch/fs_fetch_handler.rs')
-rw-r--r--ext/fetch/fs_fetch_handler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fetch/fs_fetch_handler.rs b/ext/fetch/fs_fetch_handler.rs
index 6f45ee664..4c2b81f35 100644
--- a/ext/fetch/fs_fetch_handler.rs
+++ b/ext/fetch/fs_fetch_handler.rs
@@ -43,7 +43,7 @@ impl FetchHandler for FsFetchHandler {
Ok::<_, ()>(response)
}
.map_err(move |_| {
- type_error("NetworkError when attempting to fetch resource.")
+ type_error("NetworkError when attempting to fetch resource")
})
.or_cancel(&cancel_handle)
.boxed_local();