Skip to content

Replace PrintException with PrintExceptionContinue + throw#3749

Merged
laanwj merged 1 commit intobitcoin:masterfrom
laanwj:2014_02_printexception
Feb 26, 2014
Merged

Replace PrintException with PrintExceptionContinue + throw#3749
laanwj merged 1 commit intobitcoin:masterfrom
laanwj:2014_02_printexception

Conversation

@laanwj
Copy link
Copy Markdown
Member

@laanwj laanwj commented Feb 26, 2014

Just a pet peeve (@cozz likely agrees).

(PrintException has exactly the same body as PrintExceptionContinue but does a re-throw at the end. Move these re-throws to the call site, this aids understanding what is going on as well as eliminates a
bit of code duplication in util.cpp)

Just a pet peeve.

(PrintException has exactly the same body as PrintExceptionContinue but
does a re-throw at the end. Move these re-throws to the call
site, this aids understanding what is going on as well as eliminates a
bit of code duplication in util.cpp)
@BitcoinPullTester
Copy link
Copy Markdown

Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/44235713ed0ad1810328f21108d32bbac04de87b for binaries and test log.
This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/
Contact BlueMatt on freenode if something looks broken.

@cozz
Copy link
Copy Markdown
Contributor

cozz commented Feb 26, 2014

Easy ACK :)

@gavinandresen
Copy link
Copy Markdown
Contributor

ACK

laanwj added a commit that referenced this pull request Feb 26, 2014
4423571 Replace PrintException with PrintExceptionContinue + throw (Wladimir J. van der Laan)
@laanwj laanwj merged commit 4423571 into bitcoin:master Feb 26, 2014
@laanwj laanwj deleted the 2014_02_printexception branch April 9, 2014 14:09
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants