mirror of https://github.com/jumpserver/jumpserver
添加调试
parent
91e006cfb0
commit
5e86b06db8
|
@ -800,7 +800,9 @@ def main():
|
||||||
color_print('请输入正确ID', 'red')
|
color_print('请输入正确ID', 'red')
|
||||||
except ServerError, e:
|
except ServerError, e:
|
||||||
color_print(e, 'red')
|
color_print(e, 'red')
|
||||||
except IndexError:
|
except Exception, e:
|
||||||
|
color_print(e)
|
||||||
|
time.sleep(5)
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in New Issue