fusion44 / blitz_api

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

API behaviour is undefined when LN node is not reachable #205

Open fusion44 opened 1 year ago

fusion44 commented 1 year ago

Describe the bug Status 500 errors when the backend node isn't reachable.

To Reproduce Start the Blitz API and call anything in Lightning. Currently, the Endpoint will return a

Expected behavior A proper error message with a clear description of what is happening.

See #203 for an example crash.