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

Handle error event when listing revision data

Aperta
#53 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
22
Fork
57
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.