diff options
author | Aldo Cortesi <aldo@corte.si> | 2017-12-16 11:53:45 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@corte.si> | 2017-12-17 10:11:02 +1300 |
commit | f14ec2d8f043f051db45dd36a1d501788c7818e6 (patch) | |
tree | e26529aa117df0e0a03cddd8a6a96b3d28f6fff3 /mitmproxy/command.py | |
parent | eab27db7d6421fe273040dd6a2596d031e4639e1 (diff) | |
download | mitmproxy-f14ec2d8f043f051db45dd36a1d501788c7818e6.tar.gz mitmproxy-f14ec2d8f043f051db45dd36a1d501788c7818e6.tar.bz2 mitmproxy-f14ec2d8f043f051db45dd36a1d501788c7818e6.zip |
console: add a data view overlay for command output
Fixes #2654
Diffstat (limited to 'mitmproxy/command.py')
-rw-r--r-- | mitmproxy/command.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/command.py b/mitmproxy/command.py index b3c8eb22..2d51317c 100644 --- a/mitmproxy/command.py +++ b/mitmproxy/command.py @@ -170,7 +170,7 @@ class Command: if chk: pargs.extend(remainder) else: - raise exceptions.CommandError("Invalid value type.") + raise exceptions.CommandError("Invalid value type: %s - expected %s" % (remainder, self.paramtypes[-1])) with self.manager.master.handlecontext(): ret = self.func(*pargs) |