@etsoo/appscript 1.4.74 → 1.4.75

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.
@@ -893,7 +893,7 @@ class CoreApp {
893
893
  * @returns Error message
894
894
  */
895
895
  formatError(error) {
896
- return error.toString();
896
+ return `${error.message} (${error.name})`;
897
897
  }
898
898
  /**
899
899
  * Refresh token failed
@@ -867,7 +867,7 @@ export class CoreApp {
867
867
  * @returns Error message
868
868
  */
869
869
  formatError(error) {
870
- return error.toString();
870
+ return `${error.message} (${error.name})`;
871
871
  }
872
872
  /**
873
873
  * Refresh token failed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/appscript",
3
- "version": "1.4.74",
3
+ "version": "1.4.75",
4
4
  "description": "Applications shared TypeScript framework",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -1210,7 +1210,7 @@ export abstract class CoreApp<
1210
1210
  * @returns Error message
1211
1211
  */
1212
1212
  formatError(error: ApiDataError) {
1213
- return error.toString();
1213
+ return `${error.message} (${error.name})`;
1214
1214
  }
1215
1215
 
1216
1216
  /**