Merge lp://staging/~rogpeppe/lbox/fix-panic-on-error into lp://staging/lbox
Proposed by
Roger Peppe
Status: | Merged |
---|---|
Merged at revision: | 57 |
Proposed branch: | lp://staging/~rogpeppe/lbox/fix-panic-on-error |
Merge into: | lp://staging/lbox |
Diff against target: |
16 lines (+3/-2) 1 file modified
rietveld.go (+3/-2) |
To merge this branch: | bzr merge lp://staging/~rogpeppe/lbox/fix-panic-on-error |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gustavo Niemeyer | Pending | ||
Review via email: mp+128522@code.staging.launchpad.net |
Description of the change
lbox: don't panic on error
To post a comment you must log in.
Reviewers: mp+128522_ code.launchpad. net,
Message:
Please take a look.
Description:
lbox: don't panic on error
https:/ /code.launchpad .net/~rogpeppe/ lbox/fix- panic-on- error/+ merge/128522
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/6632043/
Affected files:
[revision details]
rietveld.go
Index: [revision details]
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: <email address hidden>
+New revision: <email address hidden>
Index: rietveld.go Description = description ReviewerMails = []string{ mp.Email( )} CodeReview. Issue(issue. Id) CodeReview. Issue(id)
=== modified file 'rietveld.go'
--- rietveld.go 2012-03-15 02:05:35 +0000
+++ rietveld.go 2012-10-08 15:20:33 +0000
@@ -29,9 +29,10 @@
issue.
issue.
} else {
- issue, err = rietveld.
+ id := issue.Id
+ issue, err = rietveld.
if err != nil {
- return nil, fmt.Errorf("Can't load issue %d from codereview: %v",
issue.Id, err)
+ return nil, fmt.Errorf("Can't load issue %d from codereview: %v", id,
err)
}
if issue.Description != description {
issue.Subject = log.Summary