beremiz
Clone
Summary
Browse
Changes
Graph
WAMP: enhance feedback for connection problems from IDE or CLI
15 months ago, Edouard Tisserant
fd9bfe601d10
WAMP: enhance feedback for connection problems from IDE or CLI
In case of authentication or TLS error, explicit warning is addressed to user through log messages.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# See COPYING.Runtime file for copyrights details.
LogLevels = ["CRITICAL", "WARNING", "INFO", "DEBUG"]
LogLevelsCount = len(LogLevels)
LogLevelsDict = dict(zip(LogLevels, range(LogLevelsCount)))
LogLevelsDefault = LogLevelsDict["DEBUG"]