We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1aac696 commit c30e9ffCopy full SHA for c30e9ff
show/main.py
@@ -58,8 +58,8 @@ def __init__(self):
58
self.port_dict = config_db.get_table('PORT')
59
60
if not self.port_dict:
61
- click.echo("port_dict is None!")
62
- raise click.Abort()
+ click.echo(message="Warning: failed to retrieve PORT table from ConfigDB!", err=True)
+ self.port_dict = {}
63
64
for port_name in self.port_dict.keys():
65
try:
0 commit comments