diff options
Diffstat (limited to 'git_command.py')
| -rw-r--r-- | git_command.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git_command.py b/git_command.py index 71b464c6..fe1e48d6 100644 --- a/git_command.py +++ b/git_command.py | |||
| @@ -286,6 +286,7 @@ class GitCommand(object): | |||
| 286 | objdir=None, | 286 | objdir=None, |
| 287 | verify_command=False, | 287 | verify_command=False, |
| 288 | add_event_log=True, | 288 | add_event_log=True, |
| 289 | log_as_error=True, | ||
| 289 | ): | 290 | ): |
| 290 | if project: | 291 | if project: |
| 291 | if not cwd: | 292 | if not cwd: |
| @@ -362,6 +363,7 @@ class GitCommand(object): | |||
| 362 | "ReturnCode": str(e.git_rc) | 363 | "ReturnCode": str(e.git_rc) |
| 363 | if e.git_rc is not None | 364 | if e.git_rc is not None |
| 364 | else None, | 365 | else None, |
| 366 | "IsError": log_as_error, | ||
| 365 | } | 367 | } |
| 366 | ) | 368 | ) |
| 367 | event_log.ErrorEvent( | 369 | event_log.ErrorEvent( |
