Skip to content

Commit

Permalink
Merge pull request #165 from gsbelarus/issue157
Browse files Browse the repository at this point in the history
gdmn-back: fix issue #157
  • Loading branch information
gsbelarus authored Jun 27, 2019
2 parents a6980b7 + a9d6fdd commit 6990492
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gdmn-back/src/apps/base/worker/ApplicationProcess.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ export class ApplicationProcess {
throw new Error("Process worker need created");
}

this._process.once("exit", () => reject());
this._process.once("exit",
(code) => reject(new Error(`child process exit with code ${code}: connection problem`)));

const callback = (data: IAppWorkerResponse<R>) => {
if (!this._process) {
Expand Down

0 comments on commit 6990492

Please sign in to comment.