slicejs-web-framework 3.4.1 → 3.4.2

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/Slice/Slice.js +7 -11
  2. package/package.json +1 -1
package/Slice/Slice.js CHANGED
@@ -565,17 +565,13 @@ async function init() {
565
565
  }
566
566
 
567
567
  if (sliceConfig.logger?.ui?.enabled) {
568
- try {
569
- const LogViewerModule = window.slice.frameworkClasses?.LogViewer
570
- || await window.slice.getClass(`${slice.paths.structuralComponentFolderPath}/Logger/LogViewer/LogViewer.js`);
571
- const logViewer = new LogViewerModule();
572
- window.slice.logViewer = logViewer;
573
- logViewer.style.display = 'none';
574
- document.body.appendChild(logViewer);
575
- if (typeof logViewer.init === 'function') logViewer.init();
576
- } catch (e) {
577
- window.slice.logger?.warn?.('Slice', 'Could not load LogViewer component', e);
578
- }
568
+ const LogViewerModule = window.slice.frameworkClasses?.LogViewer
569
+ || await window.slice.getClass(`${slice.paths.structuralComponentFolderPath}/Logger/LogViewer/LogViewer.js`);
570
+ const logViewer = new LogViewerModule();
571
+ window.slice.logViewer = logViewer;
572
+ await logViewer.init();
573
+ logViewer.style.display = 'none';
574
+ document.body.appendChild(logViewer);
579
575
  }
580
576
 
581
577
  if (sliceConfig.loading.enabled) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slicejs-web-framework",
3
- "version": "3.4.1",
3
+ "version": "3.4.2",
4
4
  "description": "",
5
5
  "engines": {
6
6
  "node": ">=20"