mirror of
https://github.com/ACINQ/eclair.git
synced 2024-11-20 02:27:32 +01:00
Set handleCommandError
to WARN
(#1012)
Those are not fatal errors for channels.
This commit is contained in:
parent
648f57276a
commit
b82d7211cc
@ -1704,7 +1704,7 @@ class Channel(val nodeParams: NodeParams, val wallet: EclairWallet, remoteNodeId
|
||||
}
|
||||
|
||||
def handleCommandError(cause: Throwable, cmd: Command) = {
|
||||
log.error(s"${cause.getMessage} while processing cmd=${cmd.getClass.getSimpleName} in state=$stateName")
|
||||
log.warning(s"${cause.getMessage} while processing cmd=${cmd.getClass.getSimpleName} in state=$stateName")
|
||||
cause match {
|
||||
case _: ChannelException => ()
|
||||
case _ => log.error(cause, s"msg=$cmd stateData=$stateData ")
|
||||
|
Loading…
Reference in New Issue
Block a user