ComLake / comlake.core

USTH data lake core
https://ComLake.github.io/comlake.core
GNU Affero General Public License v3.0
0 stars 0 forks source link

Handle timeout gracefully #6

Open McSinyx opened 3 years ago

McSinyx commented 3 years ago

As noticed by @npthao1312, if IPFS has trouble finding the content, RuntimeException will be raised. This is not desirable, the caller (us) should be the one doing the timeout instead.