UNPKG

n8n-editor-ui

Version:

Workflow Editor UI for n8n

2 lines 860 B
(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`n8n@2.13.4`}}catch{}})();try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`156c5ff2-d83c-4a6e-9858-7fb4b2b90b3b`,e._sentryDebugIdIdentifier=`sentry-dbid-156c5ff2-d83c-4a6e-9858-7fb4b2b90b3b`)})()}catch{}async function e(e,t=1e3,n=3,r=`linear`){let i=0;for(;i<n;){i++;try{if(await e())return!0}catch(e){throw console.error(`Error during retry:`,e),e}if(i<n){let e=t;r===`linear`?e=t*i:r===`exponential`&&(e=2**(i-1)*t,e=Math.min(e,3e4)),await new Promise(t=>setTimeout(t,e))}}return!1}export{e as t}; //# sourceMappingURL=retry-CLoylW83.js.map