mirror of
https://github.com/mempool/mempool.git
synced 2025-09-27 22:57:07 +02:00
fix possible backend crash
This commit is contained in:
@@ -928,7 +928,7 @@ class BlocksRepository {
|
||||
return blocks;
|
||||
} catch (e) {
|
||||
logger.err(`Cannot get blocks with missing coinstatsindex. Reason: ` + (e instanceof Error ? e.message : e));
|
||||
throw e;
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user