dcp-worker 4.3.1 → 4.3.2
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/bin/dcp-worker +3 -2
- package/package.json +1 -1
package/bin/dcp-worker
CHANGED
|
@@ -687,7 +687,8 @@ async function main()
|
|
|
687
687
|
if (!handleWorkerError.count)
|
|
688
688
|
{
|
|
689
689
|
console.error('Unrecoverable', error.code ? `${error.name} (${error.code})` : error.name,
|
|
690
|
-
'- shutting down the worker:',
|
|
690
|
+
'- shutting down the worker:',
|
|
691
|
+
process.env.DCP_SUPERVISOR_DEBUG_DISPLAY_MAX_INFO ? error : error.message);
|
|
691
692
|
}
|
|
692
693
|
|
|
693
694
|
/* Let the supervisor try to finish slices for up to three minutes after a single unrecoverable error. */
|
|
@@ -707,7 +708,7 @@ async function main()
|
|
|
707
708
|
{
|
|
708
709
|
const amount = await DistributiveWorker.checkUnclaimedEarnings();
|
|
709
710
|
if (amount.gt(0))
|
|
710
|
-
console.
|
|
711
|
+
console.info(` ! not claming earnings in the amount of ${amount} ⊇ (can claim later)`);
|
|
711
712
|
}
|
|
712
713
|
|
|
713
714
|
console.info(' * Ready.\n');
|