remove logs

pull/5298/head
yann300 1 month ago committed by Aniket
parent bebe7db452
commit 5f66c0e176
  1. 5
      apps/remix-ide/src/app/udapp/run-tab.tsx

@ -196,21 +196,16 @@ export class RunTab extends ViewPlugin {
}, },
provider: { provider: {
sendAsync (payload) { sendAsync (payload) {
console.log('sendAsync', payload)
return udapp.call(name, 'sendAsync', payload) return udapp.call(name, 'sendAsync', payload)
}, },
async request (payload) { async request (payload) {
console.log('REQUEST', payload)
try { try {
const requestResult = await udapp.call(name, 'sendAsync', payload) const requestResult = await udapp.call(name, 'sendAsync', payload)
console.log('run ok', requestResult)
if (requestResult.error) { if (requestResult.error) {
console.log('inner error', requestResult.error)
throw new Error(requestResult.error.message) throw new Error(requestResult.error.message)
} }
return requestResult.result return requestResult.result
} catch (err) { } catch (err) {
console.log('run failed', err)
throw new Error(err.error.message) throw new Error(err.error.message)
} }
} }

Loading…
Cancel
Save