Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 15 additions and 1 deletion.
  1. +15 −1 lib/jitsu.js
16 lib/jitsu.js
@@ -350,7 +350,21 @@ jitsu.showError = function (command, err, shallow, skip) {
else {
if (err.stack && !shallow) {
if(err.message && err.message === 'socket hang up'){
- //nothing
+ if (err.code){
+ if (err.code === 'ECONNRESET'){
+'\nThis error may indicate that the jitsu client\'s request');
+'timed out before the server could respond. If the application');
+'normally takes time to load, please wait a few minutes to see if');
+'the application deployed. Check the logs to see if there has been');
+'an error or logging output with `jitsu logs`.');
+ } else {
+'\nThis error may indicate that the nodejitsu drone that the');
+'application was deployed to may be experiencing difficulties');
+'running the application. Check the application logs with `jitsu logs` ');
+'to determine if there is an error or logging provided.');
+ }
+ }
} else {
err.stack.split('\n').forEach(function (trace) {

No commit comments for this range

Something went wrong with that request. Please try again.