mirror of
https://github.com/gosticks/iota.lib.java.git
synced 2026-10-04 05:26:59 +00:00
replaced generic exception catch with concrete multicatching of thrown exceptions form getbundle
This commit is contained in:
@@ -328,9 +328,9 @@ public class IotaAPIProxy {
|
||||
}
|
||||
finalBundles.add(gbr);
|
||||
}
|
||||
// If error returned from getBundle, simply ignore it because the bundle was most likely incorrect
|
||||
}catch(Exception e){
|
||||
log.warn("GetBundleError: ",e);
|
||||
// If error returned from getBundle, simply ignore it because the bundle was most likely incorrect
|
||||
} catch (InvalidBundleException | ArgumentException | InvalidSignatureException e) {
|
||||
log.warn("GetBundleError: ", e);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user