From 7bc90c425f0b39563dd3815dc98518598d6e4718 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Tue, 7 Feb 2023 17:31:36 -0500 Subject: [PATCH] fix error --- hub/scribe/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hub/scribe/service.py b/hub/scribe/service.py index b6579cc..d1b5160 100644 --- a/hub/scribe/service.py +++ b/hub/scribe/service.py @@ -2071,7 +2071,7 @@ class BlockchainProcessorService(BlockchainService): self._caught_up_event = caught_up_event try: if os.path.exists(self.db._need_restart_path): - raise MemoryError() + raise RuntimeError('scribe restart is needed') if self.height != self.daemon.cached_height() and not self.db.catching_up: await self._need_catch_up() # tell the readers that we're still catching up with lbrycrd/lbcd while not self._stopping: