File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 22 createNewCircuitScope ,
33 switchCircuit ,
44 changeCircuitName ,
5- scopeList ,
65} from './circuit'
76import SubCircuit from './subcircuit'
87import { simulationArea } from './simulationArea'
@@ -273,9 +272,7 @@ export default async function generateVerilogCircuit(
273272 apiUrl = `https://circuitverse.org${ apiUrl } `
274273 try {
275274 fetchFn = ( await import ( '@tauri-apps/plugin-http' ) ) . fetch
276- } catch ( e ) {
277- console . warn ( 'Failed to load Tauri HTTP plugin:' , e )
278- }
275+ } catch ( e ) { /* ignore */ }
279276 }
280277
281278 try {
@@ -316,9 +313,7 @@ export default async function generateVerilogCircuit(
316313 else if ( typeof error . json === 'function' ) {
317314 try {
318315 msg = ( await error . json ( ) ) . message || msg
319- } catch ( e ) {
320- console . warn ( 'Failed to parse error JSON:' , e )
321- }
316+ } catch ( e ) { /* ignore */ }
322317 }
323318 setVerilogOutput ( msg , 'error' )
324319 }
You can’t perform that action at this time.
0 commit comments