mol_plot_all 1.2.1282 → 1.2.1284

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.js CHANGED
@@ -3027,7 +3027,9 @@ var $;
3027
3027
  }
3028
3028
  catch (error) {
3029
3029
  $mol_fail_log(error);
3030
- const mol_view_error = $mol_promise_like(error) ? 'Promise' : error.name || error.constructor.name;
3030
+ const mol_view_error = $mol_promise_like(error)
3031
+ ? error.constructor[Symbol.toStringTag] ?? 'Promise'
3032
+ : error.name || error.constructor.name;
3031
3033
  $mol_dom_render_attributes(node, { mol_view_error });
3032
3034
  if ($mol_promise_like(error))
3033
3035
  break render;