Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c8074801
Commit
c8074801
authored
Jan 11, 2017
by
Sean McGivern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve error logging on working copies
parent
1d85c569
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
app/services/merge_requests/working_copy_base_service.rb
app/services/merge_requests/working_copy_base_service.rb
+6
-1
No files found.
app/services/merge_requests/working_copy_base_service.rb
View file @
c8074801
...
@@ -11,7 +11,12 @@ module MergeRequests
...
@@ -11,7 +11,12 @@ module MergeRequests
output
,
status
=
popen
(
git_command
,
path
,
env
,
&
block
)
output
,
status
=
popen
(
git_command
,
path
,
env
,
&
block
)
unless
status
.
zero?
unless
status
.
zero?
log_error
(
"Failed to
#{
message
}
:"
)
if
message
if
message
log_error
(
"Failed to
#{
message
}
with `
#{
git_command
.
join
(
' '
)
}
`:"
)
else
log_error
(
"`
#{
git_command
.
join
(
' '
)
}
` failed:"
)
end
log_error
(
output
)
log_error
(
output
)
raise
GitCommandError
raise
GitCommandError
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment