X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Fworker-files%2Fcluster%2FerrorWorker.js;h=d23ba27b31692d74866fdd2ddb2f9caf8763fac7;hb=e9257a71db0df268988cb3943a7cca04745af8c1;hp=d6d9297ac8e5f671c3249622139c3ba0c8b8d8b6;hpb=6fdc721bfdc82852c19cf4d53e0918c9665a580f;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') }