MCPcopy Index your code
hub / github.com/dataease/SQLBot / wrapWithTryCatch

Function wrapWithTryCatch

frontend/public/swagger-ui-bundle.js:31609–31623  ·  view source on GitHub ↗
(s, o, { logErrors: i = !0 } = {})

Source from the content-addressed store, hash-verified

31607 return Ye()(s, o)
31608 }
31609 function wrapWithTryCatch(s, o, { logErrors: i = !0 } = {}) {
31610 return 'function' != typeof s
31611 ? s
31612 : function (...a) {
31613 try {
31614 return s.call(this, ...a)
31615 } catch (s) {
31616 if (i) {
31617 const { uncaughtExceptionHandler: i } = o().getConfigs()
31618 'function' == typeof i ? i(s) : console.error(s)
31619 }
31620 return null
31621 }
31622 }
31623 }
31624 var Tt = __webpack_require__(61160),
31625 Nt = __webpack_require__.n(Tt)
31626 const Mt = 'show_popup',

Callers 4

rebuildReducerMethod · 0.85
getBoundSelectorsMethod · 0.85
callAfterLoadFunction · 0.85

Calls 4

getConfigsMethod · 0.80
errorMethod · 0.80
oFunction · 0.70
iFunction · 0.70

Tested by

no test coverage detected