PluginProbe
Extendify / 3.2.2
Extendify v3.2.2
3.2.2 3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 All 128 releases
← All changes | src/AutoLaunch/functions/helpers.js +2 -5 3.2.0 → 3.2.2 View file →
@@ -26,13 +26,10 @@
26 26 export const failWithFallback = async (fn, fallback, errDetails = {}) => {
27 27 try {
28 28 return await fn();
29 29 } catch (error) {
30 - digest({
31 - ...errDetails,
32 - error: errDetails?.error ?? error,
33 - source: 'auto-launch',
34 - });
30 + const { error: reported = error, ...details } = errDetails;
31 + digest({ error: reported, details: { source: 'auto-launch', ...details } });
35 32 return fallback;
36 33 }
37 34 };
38 35