mirror of
https://github.com/mempool/mempool.git
synced 2025-10-04 20:33:23 +02:00
fix possible backend crash
This commit is contained in:
@@ -928,7 +928,7 @@ class BlocksRepository {
|
|||||||
return blocks;
|
return blocks;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
logger.err(`Cannot get blocks with missing coinstatsindex. Reason: ` + (e instanceof Error ? e.message : 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