abort on fatal error

This commit is contained in:
Jude Nelson
2016-08-30 20:23:52 -04:00
parent bc40d5a901
commit 8e27fc5586

View File

@@ -1575,7 +1575,7 @@ class BlockstackDB( virtualchain.StateEngine ):
transfer_send_block_id = self.lookup_block_id_from_consensus_hash( nameop['consensus_hash'] )
if transfer_send_block_id is None:
log.error("FATAL: no block for consensus hash '%s'" % nameop['consensus_hash'])
sys.exit(1)
os.abort()
op = TRANSFER_KEEP_DATA
if not keep_data: