X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker-files%2Fcluster%2FerrorWorker.js;h=d23ba27b31692d74866fdd2ddb2f9caf8763fac7;hb=7c24d88bad050638ec120e599f4752d589f87690;hp=d6d9297ac8e5f671c3249622139c3ba0c8b8d8b6;hpb=e901162fa610e2af305aac504549580b2de48cab;p=poolifier.git diff --git a/tests/worker-files/cluster/errorWorker.js b/tests/worker-files/cluster/errorWorker.js index d6d9297a..d23ba27b 100644 --- a/tests/worker-files/cluster/errorWorker.js +++ b/tests/worker-files/cluster/errorWorker.js @@ -1,7 +1,7 @@ 'use strict' const { ClusterWorker, KillBehaviors } = require('../../../lib/index') -function error (data) { +function error () { throw new Error('Error Message from ClusterWorker') }