adjust logging a bit and add some comments

This commit is contained in:
gcarq
2018-06-09 00:58:24 +02:00
parent 6c1bb7983b
commit 83eb7a0a9d
3 changed files with 11 additions and 10 deletions

View File

@@ -21,6 +21,12 @@ logger = logging.getLogger(__name__)
class RPCException(Exception):
"""
Should be raised with a rpc-formatted message in an _rpc_* method
if the required state is wrong, i.e.:
raise RPCException('*Status:* `no active trade`')
"""
pass