@nu-art/build-and-install 0.204.101 → 0.204.102

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nu-art/build-and-install",
3
- "version": "0.204.101",
3
+ "version": "0.204.102",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "TacB0sS",
@@ -215,10 +215,15 @@ class PhaseRunner extends core_1.BaseUnit {
215
215
  }
216
216
  async executeImpl() {
217
217
  for (const phase of this.phases) {
218
- const phaseDidRun = await this.executePhase(phase);
219
- //If phase is terminating
220
- if (phaseDidRun && phase.terminateAfterPhase)
221
- break;
218
+ try {
219
+ const phaseDidRun = await this.executePhase(phase);
220
+ //If phase is terminating
221
+ if (phaseDidRun && phase.terminateAfterPhase)
222
+ break;
223
+ }
224
+ catch (e) {
225
+ this.logError(`Error running phase: ${phase.name}`, e);
226
+ }
222
227
  }
223
228
  this.killed = false;
224
229
  }
@@ -69,7 +69,7 @@ class Unit_TypescriptLib extends Unit_Typescript_1.Unit_Typescript {
69
69
  if (this.config.customTSConfig) {
70
70
  //If ts config file does not exist in the main folder
71
71
  if (!fs.existsSync(pathToUnitTSConfig))
72
- throw new ts_common_1.BadImplementationException(`Unit ${this.config.label} is set to use a custom tsconfig but is missing a tsconfig.json file in /src/main`);
72
+ throw new ts_common_1.BadImplementationException(`Unit "${this.config.label}" is set to use a custom tsconfig but is missing a tsconfig.json file in /src/main`);
73
73
  return;
74
74
  }
75
75
  //Copy project ts config file into the unit main folder