ember-cli-deploy / ember-cli-deploy/ember-cli-deploy-revision-data

Handle error event when listing revision data

Open
#53 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
22
Forks
57
PR merge metrics
No merged PRs in 30d

Description

Hello guys,

There's clearly something wrong with my setup - but I'm not exactly sure what *that* is - running `ember deploy --verbose env` yields the following:

```
+- fetchInitialRevisions
| |
| +- redis
- Listing initial revisions for key: `sunlight-web-client`
events.js:160
throw er; // Unhandled 'error' event

events.js:160
throw er; // Unhandled 'error' event
^

Error: Timed out while waiting for handshake
at Timeout._onTimeout (/Users/mariogintili/dev/sunlight/web-client/node_modules/ssh2/lib/client.js:569:19)
at ontimeout (timers.js:365:14)
at tryOnTimeout (timers.js:237:5)
at Timer.listOnTimeout (timers.js:207:5)
```

I was wondering if we could handle that error event to show something more informative?

**EDIT** the unhandled error might not be in this library, sorry if that's the case

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.