API Action "Pass Errors" throws error in console regarding headers already being sent

Wappler Version : 4.9.0
Operating System : MacOS
Server Model: NodeJS
Database Type: N/A
Hosting Type: Docker

Expected behavior

When an API Action fails and Pass Errors is ticked, no error is thrown in console (or a proper error message is thrown)

Actual behavior

  server-connect:server Got error? Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
  server-connect:server     at new NodeError (node:internal/errors:371:5)
  server-connect:server     at ServerResponse.setHeader (node:_http_outgoing:576:11)
  server-connect:server     at ServerResponse.header (/opt/node_app/node_modules/express/lib/response.js:776:10)
  server-connect:server     at ServerResponse.send (/opt/node_app/node_modules/express/lib/response.js:170:12)
  server-connect:server     at ServerResponse.json (/opt/node_app/node_modules/express/lib/response.js:267:15)
  server-connect:server     at /opt/node_app/lib/server.js:73:29
  server-connect:server     at Layer.handle [as handle_request] (/opt/node_app/node_modules/express/lib/router/layer.js:95:5)
  server-connect:server     at trim_prefix (/opt/node_app/node_modules/express/lib/router/index.js:323:13)
  server-connect:server     at /opt/node_app/node_modules/express/lib/router/index.js:284:7
  server-connect:server     at Function.process_params (/opt/node_app/node_modules/express/lib/router/index.js:341:12) {
  server-connect:server   code: 'ERR_HTTP_HEADERS_SENT'
  server-connect:server } +12s

How to reproduce

Create a Step with API Action to:
http://httpstat.us/500
Tick Pass Errors

Could be that my other fix also fixes this issue.