mam 1.11.490 → 1.11.492
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/node.test.js +3 -1
- package/node.test.js.map +1 -1
- package/package.json +1 -1
package/node.test.js
CHANGED
|
@@ -11667,7 +11667,9 @@ var $;
|
|
|
11667
11667
|
}
|
|
11668
11668
|
catch (error) {
|
|
11669
11669
|
$mol_fail_log(error);
|
|
11670
|
-
const mol_view_error = $mol_promise_like(error)
|
|
11670
|
+
const mol_view_error = $mol_promise_like(error)
|
|
11671
|
+
? error.constructor[Symbol.toStringTag] ?? 'Promise'
|
|
11672
|
+
: error.name || error.constructor.name;
|
|
11671
11673
|
$mol_dom_render_attributes(node, { mol_view_error });
|
|
11672
11674
|
if ($mol_promise_like(error))
|
|
11673
11675
|
break render;
|