diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/protocol.js | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/modules/protocol.js b/src/modules/protocol.js index 7f2f7c0..1aeb7f9 100644 --- a/src/modules/protocol.js +++ b/src/modules/protocol.js @@ -31,13 +31,8 @@ module.exports = async (argv) => { if (domain != "thunderstore.io") continue; - try { - if (term == "install") { - win().send("protocol-install-mod", [domain, author, package_name, version]); - } - }catch(err) { - console.error(err); - continue; + if (term == "install") { + win().send("protocol-install-mod", [domain, author, package_name, version]); } } } |