lucid-package 0.0.24 → 0.0.25

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +7 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lucid-package",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
package/src/index.js CHANGED
@@ -157,6 +157,10 @@ class LucidSuiteExtensionCLI {
157
157
  }
158
158
  }
159
159
  }
160
- new LucidSuiteExtensionCLI()
161
- .run(process.argv.slice(2))
162
- .catch((reason) => console.error('Error running Lucid Suite Extension CLI', reason));
160
+ new LucidSuiteExtensionCLI().run(process.argv.slice(2)).catch((reason) => {
161
+ let reasonMessage = reason;
162
+ if (reason instanceof Object && reason.toString) {
163
+ reasonMessage = reason.toString();
164
+ }
165
+ console.error('Error running Lucid Suite Extension CLI', reasonMessage);
166
+ });