-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
Server Serverless 2023-08-07
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Passing the following function to funWithArgs will not propagate the internal error:
import { funWithArgs } from "jstests/libs/parallel_shell_helpers.js"; const test = true; const awaitShell = startParallelShell(funWithArgs(async function(test) { throw new Error("intentionally thrown") }, test), undefined, true); awaitShell();