ente/web/packages
Manav Rathi e0fe018f34
Log on unhandled errors and promise rejections
Test code:

    useEffect(() => {
        setTimeout(() => testFunctionSync(), 5000);
    }, []);

    useEffect(() => {
        testFunction();
    }, []);

    const testFunctionSync = () => {
        console.log("sleeping not");
        // sleep(2000);
        console.log("woke up not");
        throw new Error("Handle me");
    };

    const testFunction = async () => {
        console.log("sleeping");
        sleep(2000);
        console.log("woke up");
        throw new Error("Handle me");
    };

Refs:
- https://developer.mozilla.org/en-US/docs/Web/API/Window/unhandledrejection_event
- https://github.com/megahertz/electron-log/blob/master/src/renderer/lib/RendererErrorHandler.js
2024-04-10 13:05:00 +05:30
..
accounts Audit app update functions 2024-04-10 12:32:43 +05:30
build-config Fix the yarn lint 2024-04-05 21:22:44 +05:30
eslint-config Remove middleman package, to get it to compile 2024-04-04 11:36:20 +05:30
next Log on unhandled errors and promise rejections 2024-04-10 13:05:00 +05:30
shared IPC keys 2024-04-10 11:03:36 +05:30
utils Remove deprecated loggers 2024-04-09 12:06:46 +05:30