raise exceptions instead of false return in blockimporter

This commit is contained in:
Kevin Froman 2020-01-19 21:10:51 -06:00
parent 3aeb305994
commit 07ab85698d
2 changed files with 6 additions and 2 deletions

View file

@ -46,7 +46,7 @@ def accept_upload(request):
post=True,
is_json=True,
postData={'block': b_hash}
).get(timeout=5)
).get(timeout=10)
resp = 'success'
else:
resp = 'failure'