Revert "taskworker: Use --unhandled-rejections=strict"

Breaks the task argument count

This reverts commit b7643ae3b3.
This commit is contained in:
Johannes Zellner
2021-05-14 11:13:52 +02:00
parent a43e804ee2
commit 5e48b69d3b

View File

@@ -50,7 +50,7 @@ fi
# DEBUG has to be hardcoded because it is not set in the tests. --setenv is required for ubuntu 16 (-E does not work)
systemd-run --unit "${service_name}" --nice "${nice}" --uid=${id} --gid=${id} ${options} \
--setenv HOME=${HOME} --setenv USER=${SUDO_USER} --setenv DEBUG=box:* --setenv BOX_ENV=${BOX_ENV} --setenv NODE_ENV=production \
"${task_worker}" --unhandled-rejections=strict "${task_id}" "${logfile}"
"${task_worker}" "${task_id}" "${logfile}"
exit_code=$?
if [[ "${ubuntu_version}" == "16.04" ]]; then