Skip to content

Commit 40d212f

Browse files
committed
show error for Solidity Scan
1 parent c967d2d commit 40d212f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libs/remix-ui/solidity-compiler/src/lib/contract-selection.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,9 @@ export const ContractSelection = (props: ContractSelectionProps) => {
340340
ws.close()
341341
}
342342
})
343+
} else {
344+
await plugin.call('notification', 'toast', 'Error in processing data to scan')
345+
console.error(urlResponse.data && urlResponse.data.error ? urlResponse.data.error : urlResponse)
343346
}
344347
}
345348

0 commit comments

Comments
 (0)