Skip to content

Commit

Permalink
feat(core): added fxchild exit code back (in hex)
Browse files Browse the repository at this point in the history
  • Loading branch information
tabarra committed Nov 25, 2022
1 parent 7685d06 commit a307928
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/components/FxRunner/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ export default class FXRunner {
this.fxChild.stdout.setEncoding('utf8');

//Setting up event handlers
this.fxChild.on('close', function (_code) {
logWarn(`>> [${pid}] FXServer Closed.`);
this.fxChild.on('close', function (code) {
logWarn(`>> [${pid}] FXServer Closed (0x${code.toString(16).toUpperCase()}).`);
this.history[historyIndex].timestamps.close = now();
}.bind(this));
this.fxChild.on('disconnect', function () {
Expand Down

0 comments on commit a307928

Please sign in to comment.