Skip to content

Commit

Permalink
added debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiaMineJP committed Feb 20, 2024
1 parent bda1eab commit be76bfb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/gui/src/util/chiaEnvironment.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ const startChiaDaemon = () => {
console.info('Running python executable: ');
if (processOptions.stdio === 'ignore') {
const subProcess = spawnChildProcess(script, ['--wait-for-unlock'], processOptions);
subProcess.on('error', (err) => {
console.error(JSON.stringify(err));
});
subProcess.unref();
} else {
const Process = childProcess.spawn;
Expand Down

0 comments on commit be76bfb

Please sign in to comment.