Skip to content

Commit

Permalink
verbose error
Browse files Browse the repository at this point in the history
  • Loading branch information
guyromm committed Aug 16, 2011
1 parent 18a994c commit 4c17896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dispatcher.py
Expand Up @@ -15,7 +15,7 @@ def __init__(self, controller, action, extra_args):
try:
self.action = getattr(controller, action)
except AttributeError:
raise Exception('No such action in controller %s' % controller.__name__)
raise Exception('No such action %s in controller %s' % (action,controller.__name__))

def __call__(self):
return self.action(**self.extra_args)
Expand Down

0 comments on commit 4c17896

Please sign in to comment.