---
title: "Discussion on \"Why even simple window.fetch might be tricky\" | Hashnode"
description: "Discussion on \"Why even simple window.fetch might be tricky\". I recently saw this tweet https://twitter.com/thomasfindlay94/status/1672211922517622784:\n\nWhile many responses were related to missed await before fetch, I'd like to talk about a bigger issue: error handling.\nLet's fix an obvious error and take a cl..."
url: "https://hashnode.com/posts/why-even-simple-window-fetch-might-be-tricky/64a28ab7b58973b578acc645"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why even simple window.fetch might be tricky](https://blog.xnim.me/why-even-simple-window-fetch-might-be-tricky?utm_source=hashnode&utm_medium=feed)

I recently saw this tweet https://twitter.com/thomasfindlay94/status/1672211922517622784: While many responses were related to missed await before fetch, I'd like to talk about a bigger issue: error handling. Let's fix an obvious error and take a cl...

Jul 3, 2023 · 6 min read · blog.xnim.me  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#error-handling](https://hashnode.com/tag/error-handling)
-   [#fetch](https://hashnode.com/tag/fetch)
-   [#fetch-api](https://hashnode.com/tag/fetch-api)

## Written by

[Nik](https://hashnode.com/@xnim)

@xnim · London, UK

  
[View profile](https://hashnode.com/@xnim)

SWE@Meta, Whatsapp

Software engineer @Meta, WhatsApp, building secure, e2ee messaging experience for users. ex-HH.ru ex-Program committee member HolyJS conference

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
