Vojtech Szocs has posted comments on this change. Change subject: webadmin,userportal: Persistent client-side logging infrastructure ......................................................................
Patch Set 5: Verified+1 Verified in Firefox and Chrome: * uncaught exception during application init (e.g. ApplicationInit#performBootstrap) is caught and logged by global exception handler, application still works * uncaught exception post application init (e.g. ApplicationInit#onLogin) is caught and logged by global exception handler, application still works * log statements are persisted in browser's local storage as expected This patch can prove very useful when facing frontend issues caused by uncaught exceptions that used to break application behavior and/or appearance, depending on where/when the exception occured. With this patch applied, the risk of potential application behavior and/or appearance breakage is reduced, with any uncaught exceptions logged in browser's local storage. For now, the only way to inspect client-side log records (including those for uncaught exceptions) is via browser. In Firefox: * Open Menu / Developer / Toggle Tools * in Console tab, type "inspect(localStorage)" into the prompt at the bottom In Chrome: * Open Menu / Tools / Developer Tools * in Resources tab, select Local Storage and click on specific origin -- To view, visit http://gerrit.ovirt.org/25444 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I3b0be449ab425b56a1d7c39efeb1793991e58fa7 Gerrit-PatchSet: 5 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Vojtech Szocs <[email protected]> Gerrit-Reviewer: Alexander Wels <[email protected]> Gerrit-Reviewer: Alona Kaplan <[email protected]> Gerrit-Reviewer: Daniel Erez <[email protected]> Gerrit-Reviewer: Einav Cohen <[email protected]> Gerrit-Reviewer: Gilad Chaplik <[email protected]> Gerrit-Reviewer: Greg Sheremeta <[email protected]> Gerrit-Reviewer: Lior Vernia <[email protected]> Gerrit-Reviewer: Tal Nisan <[email protected]> Gerrit-Reviewer: Tomas Jelinek <[email protected]> Gerrit-Reviewer: Vojtech Szocs <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: No _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
