# Show error toast on startup for malformed tasks \(\#62387\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e4671f71d5a0d3af1666aac4bef9d482aa7eb70a

Requested commit: e4671f71d5a0d3af1666aac4bef9d482aa7eb70a

Commit: e4671f71d5a0d3af1666aac4bef9d482aa7eb70a

Tree: 31f37489d6679b9bbffe29cad450b228d3ae4f8c

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Show error toast on startup for malformed tasks (#62387)

Closes https://github.com/zed-industries/zed/issues/61208

Before, Zed showed no toasts on startup when tasks.json contained
malformed entries, also if there were two top-level arrays, the last one
was silently discarded without any toasts too.

The PR fixes both.

Release Notes:

- Fixed error toast not showing for malformed tasks.json
```

## Parents

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

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