If you do this inside of run, the run fails (which is correct) but you get "Unknown error" on the run.
await io.runTask(
"a-task",
async () => {
throw "Shopify Order not found";
},
);
It works properly if you do throw new Error("Shopify Order not found");
TRI-1377
If you do this inside of run, the run fails (which is correct) but you get "Unknown error" on the run.
It works properly if you do
throw new Error("Shopify Order not found");TRI-1377