@volter/supercode-orchestrator 0.5.61 → 0.5.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,7 +15,9 @@ if (process.argv[2] === 'workflow') {
15
15
  if(verb!=='serve')timeCommand(`workflow ${verb??''}`.trim(),process.argv.slice(3));
16
16
  let code=0;
17
17
  try {code=await runWorkflow(process.argv.slice(3));}
18
- catch(error) {process.stderr.write(`supercode workflow: ${error.message??error}\n`);code=1;}
18
+ // a store's own error (SQLite's, with its errcode) is no message written for a person: its stack says which statement
19
+ // met it, as a follower's end in the connector's log (board events) otherwise could not
20
+ catch(error) {process.stderr.write(`supercode workflow: ${error.message??error}\n${error?.errcode!=null&&error.stack?`${error.stack}\n`:''}`);code=1;}
19
21
  finally {await closeWorld();}
20
22
  await Promise.all([process.stdout,process.stderr].map(stream=>new Promise(done=>stream.write('',done))));
21
23
  process.exit(code);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volter/supercode-orchestrator",
3
- "version": "0.5.61",
3
+ "version": "0.5.62",
4
4
  "type": "module",
5
5
  "description": "The orchestrator runtime over the Volter Harness ontology: one typed operational model whose folder is its serialization, read and written through the harness orchestration doors (docs/ORCHESTRATOR-IR.md)",
6
6
  "exports": {