remove uneeded try/catch

pull/5370/head
yann300 2 years ago committed by Aniket
parent 4fed1da09f
commit e2406fabe5
  1. 4
      libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx

@ -319,7 +319,6 @@ export const DebuggerUI = (props: DebuggerUIProps) => {
})
})
} catch (error) {
try {
unLoad()
setState(prevState => {
let errorMsg = error.message || error
@ -331,9 +330,6 @@ export const DebuggerUI = (props: DebuggerUIProps) => {
validationError: errorMsg
}
})
} catch (e) {
console.error(e)
}
}
}, 300)
handleResize()

Loading…
Cancel
Save