Show More
@@ -992,6 +992,7 b' def _dispatch(req):' | |||||
992 | def _runcommand(ui, options, cmd, cmdfunc): |
|
992 | def _runcommand(ui, options, cmd, cmdfunc): | |
993 | """Run a command function, possibly with profiling enabled.""" |
|
993 | """Run a command function, possibly with profiling enabled.""" | |
994 | try: |
|
994 | try: | |
|
995 | with tracing.log("Running %s command" % cmd): | |||
995 | return cmdfunc() |
|
996 | return cmdfunc() | |
996 | except error.SignatureError: |
|
997 | except error.SignatureError: | |
997 | raise error.CommandError(cmd, _('invalid arguments')) |
|
998 | raise error.CommandError(cmd, _('invalid arguments')) |
General Comments 0
You need to be logged in to leave comments.
Login now