diff --git a/openbook/src/main/java/com/mmorrell/openbook/manager/OpenBookManager.java b/openbook/src/main/java/com/mmorrell/openbook/manager/OpenBookManager.java index 27778f0..50b80b8 100644 --- a/openbook/src/main/java/com/mmorrell/openbook/manager/OpenBookManager.java +++ b/openbook/src/main/java/com/mmorrell/openbook/manager/OpenBookManager.java @@ -159,7 +159,7 @@ public Optional getEventHeap(PublicKey eventHeap) { ); return Optional.of(openBookEventHeap); - } catch (RpcException e) { + } catch (Exception e) { log.error("Error getting event heap: {}", e.getMessage(), e); return Optional.empty(); } @@ -180,7 +180,7 @@ public Optional getOpenOrdersAccount(PublicKey ooa) { ); return Optional.of(openBookOoa); - } catch (RpcException e) { + } catch (Exception e) { log.error("Error getting OOA: {}", e.getMessage(), e); return Optional.empty(); }