mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +01:00
generalize exception handling
This commit is contained in:
parent
ff3662db43
commit
a736f41eb4
@ -138,7 +138,7 @@ public class ModuleGenerator {
|
||||
} else {
|
||||
writer.prepareFunction( name );
|
||||
}
|
||||
} catch( IOException ioex ) {
|
||||
} catch( Exception ioex ) {
|
||||
throw WasmException.create( ioex, sourceFile, -1 );
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user