lnworker: don't log InvoiceError
lnworker._pay does not need log_exceptions decorator, as we properly await the coroutine
This commit is contained in:
@@ -183,7 +183,9 @@ class BitcoinException(Exception): pass
|
||||
class UserFacingException(Exception):
|
||||
"""Exception that contains information intended to be shown to the user."""
|
||||
|
||||
class InvoiceError(Exception): pass
|
||||
|
||||
class InvoiceError(UserFacingException): pass
|
||||
|
||||
|
||||
# Throw this exception to unwind the stack like when an error occurs.
|
||||
# However unlike other exceptions the user won't be informed.
|
||||
|
||||
Reference in New Issue
Block a user