Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clnrest: Import sys in except clause explicitly
This fixes a crash on startup of core-lightning where gevent could not be imported. This happens before sys is imported and throws us into the except clause which calls sys. By importing it explicitly in the except clause we are not dependend of the order of imports in the try bracket. Signed-off-by: Peter Neuroth <[email protected]>
- Loading branch information