# Return a 400, not a 500 when token validation fails · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/9633a4b527d4f9c73a81e3868e4d2876a3972e8f)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 9633a4b527d4f9c73a81e3868e4d2876a3972e8f

Requested commit: 9633a4b527d4f9c73a81e3868e4d2876a3972e8f

Commit: 9633a4b527d4f9c73a81e3868e4d2876a3972e8f

Tree: 054d0f6ac9fd147cda0bb63a33248fc01d811f75

Author: Max Brunsfeld

Committer: Max Brunsfeld

## Message

```
Return a 400, not a 500 when token validation fails

Co-authored-by: Antonio Scandurra <antonio@zed.dev>

```

## Parents

- [26dae3c04ecc9a41cb3983fc5caa829f243cc4f7](https://git.cafe/gitcafe/zed/commit/26dae3c04ecc9a41cb3983fc5caa829f243cc4f7?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/9633a4b527d4f9c73a81e3868e4d2876a3972e8f?format=markdown)
