digitalocean / digitalocean/doctl

Need more details when emitting Error: unexpected end of JSON input

Open
#1,361 0 comments 3 reactions 0 assignees View on GitHub
suggestion
Dominant language
Go
Stars
3.4k
Forks
496
Avg merge
1d 2h
Merged PRs (30d)
31

Description

**What is the problem this feature would solve? Please describe.**
Add details to `Error: unexpected end of JSON input`

**Describe the solution you'd like**
We need more information when this happens (quite often) and it's nearly impossible to debug.

```
doctl serverless deploy . --remote-build

Error: unexpected end of JSON input
```

Should include a stack trace, or some extra metadata about the the issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.