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

Handle error event when listing revision data

Ouverte
#53 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
22
Forks
57
Métriques de merge des PR
Aucune PR mergée en 30 j

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.