@nsshunt/stsrunnerframework 1.0.5 → 1.0.6

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.
@@ -1945,6 +1945,12 @@ class STSWorkerManager {
1945
1945
  publishMessagePayload = data;
1946
1946
  processMessage(publishMessagePayload);
1947
1947
  });
1948
+ workerPort.on("exit", (code) => {
1949
+ console.log(chalk$1.magenta(`Worker exited with code: ${code}`));
1950
+ });
1951
+ workerPort.on("error", (error) => {
1952
+ console.log(chalk$1.red(`Worker error: ${error}`));
1953
+ });
1948
1954
  } else {
1949
1955
  workerPort.onmessage = async (data) => {
1950
1956
  publishMessagePayload = data.data;