@lavalogic/scoria 0.38.3 → 0.38.4

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.
@@ -92,8 +92,13 @@
92
92
  errorMessage = null;
93
93
  try {
94
94
  await action();
95
- } catch {
96
- errorMessage = failureMessage;
95
+ } catch (e) {
96
+ // Surface the underlying error rather than swallowing it: the
97
+ // generic message alone has made failures hard to diagnose. The
98
+ // full error (with stack) goes to the console; its message is
99
+ // appended to the banner so it is visible without devtools.
100
+ console.error('[TableConfigurationModal] action failed:', e);
101
+ errorMessage = e instanceof Error ? `${failureMessage} (${e.message})` : failureMessage;
97
102
  }
98
103
  }
99
104
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lavalogic/scoria",
3
3
  "description": "Svelte components used for the FloWMS Web Frontend",
4
- "version": "0.38.3",
4
+ "version": "0.38.4",
5
5
  "publishConfig": {
6
6
  "access": "restricted"
7
7
  },