Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Make sure the "Not connected to child process" error includes a trace #1208

Merged
merged 1 commit into from
Apr 3, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/common/services/TruffleIntegrationService.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class TruffleIntegrationService extends EventEmitter {
},
});
} else {
reject("Not connected to child process");
reject(new Error("Not connected to child process"));
}
});
}
Expand Down Expand Up @@ -149,7 +149,7 @@ class TruffleIntegrationService extends EventEmitter {
data: { contract, contracts, block },
});
} else {
reject("Not connected to child process");
reject(new Error("Not connected to child process"));
}
});
}
Expand All @@ -170,7 +170,7 @@ class TruffleIntegrationService extends EventEmitter {
data: { contract, contracts, log },
});
} else {
reject("Not connected to child process");
reject(new Error("Not connected to child process"));
}
});
}
Expand All @@ -191,7 +191,7 @@ class TruffleIntegrationService extends EventEmitter {
data: { contract, contracts, transaction },
});
} else {
reject("Not connected to child process");
reject(new Error("Not connected to child process"));
}
});
}
Expand Down