puppyperpetual 1.3.2 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "puppyperpetual",
3
3
  "type": "module",
4
4
  "types": "./src/index.d.ts",
5
- "version": "1.3.2",
5
+ "version": "1.3.3",
6
6
  "description": "Run stuff FOREVER! PERPETUALLY!",
7
7
  "main": "./src/index.js",
8
8
  "exports": {
@@ -270,12 +270,12 @@ export class ProcessManager {
270
270
  if (code === 0) {
271
271
  resolve(code);
272
272
  } else {
273
- reject(new Error(`${command} exited with code ${code}`));
273
+ this.logger.logSend(`ERR: ${command} exited with code ${code}`);
274
274
  }
275
275
  });
276
276
 
277
277
  cmdProcess.on("error", (err) => {
278
- console.error(`Failed to start ${command}:`, err);
278
+ this.logger.logSend(`ERR: Failed to start ${command}: ${err.message}`);
279
279
  reject(err);
280
280
  });
281
281
  });