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