We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As the title says, in document of programmatic local part, there are code as below:
daemon.on('process:ready', function(error, readyProcessInfo) { if(processInfo.id == readyProcessInfo.id) { // process has now started } })
It seems the callback has no error argument, because while I try to print out the error if it isn't undefined, I got
error
WildEmitter { socket: '/var/run/guvnor/processes/3630', status: 'running', restarts: 0, totalRestarts: 0, id: 'V1dbU1Oie', script: '/home/bda/Projects/testfloodesh/lib/worker.js', name: 'testfloodesh', restartOnError: true, restartRetries: 5, argv: [], execArgv: [], env: 'development', debug: false, instances: 1, cluster: false, debugPort: 46759, cwd: '/home/bda/Projects/testfloodesh/lib', user: 'bda', group: 'bda', addWorker: undefined, removeWorker: undefined, kill: [Function: bound ], restart: [Function: bound ], send: [Function: bound ], signal: [Function: bound ], reportStatus: [Function: bound ], dumpHeap: [Function: bound ], forceGc: [Function: bound ], write: [Function: bound ], fetchHeapSnapshot: [Function: bound ], removeHeapSnapshot: [Function: bound ], pid: 3630 }
Am I right?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As the title says, in document of programmatic local part, there are code as below:
It seems the callback has no
error
argument, because while I try to print out the error if it isn't undefined, I gotAm I right?
The text was updated successfully, but these errors were encountered: