mirror of
https://github.com/powerline/powerline.git
synced 2025-07-29 16:55:07 +02:00
Log when IP address family not found for interface
This commit is contained in:
parent
105cf6666f
commit
2c1213116e
@ -118,6 +118,7 @@ else:
|
|||||||
try:
|
try:
|
||||||
return addrs[family][0]['addr']
|
return addrs[family][0]['addr']
|
||||||
except (KeyError, IndexError):
|
except (KeyError, IndexError):
|
||||||
|
pl.info("No IPv{0} address found for interface {1}", ipv, interface)
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user