Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1381)

Issue 6818053: store: prefer c.Assert to panic (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by dave
Modified:
11 years, 6 months ago
Reviewers:
mp+132078
Visibility:
Public.

Description

store: prefer c.Assert to panic Updates #1073125. Replace a bunch of panics with Asserts to make the underlying issue more obvious. https://code.launchpad.net/~dave-cheney/juju-core/store-failure-I/+merge/132078 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : store: prefer c.Assert to panic #

Patch Set 3 : store: prefer c.Assert to panic #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -10 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M store/mgo_test.go View 2 chunks +6 lines, -10 lines 0 comments Download

Messages

Total messages: 5
dave_cheney.net
Please take a look.
11 years, 6 months ago (2012-10-30 11:46:46 UTC) #1
dave_cheney.net
Please take a look.
11 years, 6 months ago (2012-10-30 11:49:01 UTC) #2
rog
On 2012/10/30 11:49:01, dfc wrote: > Please take a look. LGTM
11 years, 6 months ago (2012-10-30 11:53:03 UTC) #3
fwereade
LGTM
11 years, 6 months ago (2012-10-30 11:53:41 UTC) #4
dave_cheney.net
11 years, 6 months ago (2012-10-30 11:53:50 UTC) #5
*** Submitted:

store: prefer c.Assert to panic

Updates #1073125.

Replace a bunch of panics with Asserts to make the underlying issue more
obvious.

R=rog
CC=
https://codereview.appspot.com/6818053
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b