Skip to content

Commit

Permalink
Merge pull request #22 from chientrm/20-trying-to-get-fetch-working-w…
Browse files Browse the repository at this point in the history
…ith-image-re-size

body type
  • Loading branch information
chientrm committed Jan 29, 2024
2 parents 421f345 + 1d5ed69 commit e444136
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/proxies/fetcher/proxy_holder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ class FetcherProxyHolder extends ProxyHolder<{}> implements Fetcher {
? init.body
: undefined;
if (!data) {
throw new Error('Method not implemented.');
throw new Error(
`Method not implemented for body type ${typeof init?.body}`
);
}
const { host, name } = this,
path = input.toString(),
Expand Down

0 comments on commit e444136

Please sign in to comment.