Show More
@@ -992,7 +992,8 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 | return cmdfunc() |
|
995 | with tracing.log("Running %s command" % cmd): | |
|
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')) | |
998 |
|
999 |
General Comments 0
You need to be logged in to leave comments.
Login now