fusion44 / blitz_api

A management backend for the RaspiBlitz project written in Python / FastAPI
MIT License
19 stars 18 forks source link

[CLN] Implementation eats exceptions silently and crashes #168

Closed fusion44 closed 1 year ago

fusion44 commented 1 year ago

Describe the bug Internal server error in cln_grpc.py when the add invoice request fails. https://github.com/fusion44/blitz_api/blob/b9f4577d21af9e28faefac3d3bbc62bb3ecbd1bf/app/lightning/impl/cln_grpc.py#L453-L456

Expected behavior The API should properly handle the exception and notify the client.

fusion44 commented 1 year ago

Fixed in dev branch.