Skip to content

Commit

Permalink
fix: remove mpay exception traceback
Browse files Browse the repository at this point in the history
  • Loading branch information
michael1011 committed Mar 10, 2024
1 parent 492057a commit b2c14d6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tools/plugins/mpay/data/router.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import copy
import traceback
from typing import Any, Iterator

from pyln.client import Millisatoshi, Plugin
Expand Down Expand Up @@ -55,7 +54,6 @@ def fetch_routes(
except GeneratorExit: # noqa: PERF203
break
except BaseException as e:
traceback.print_exception(e)
# TODO: penalize in db?
self._pl.log(f"Disregarding route {stat_route} because: {format_error(e)}")

Expand Down

0 comments on commit b2c14d6

Please sign in to comment.