aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2019-09-05 13:28:39 +0200
committerWladimir J. van der Laan <[email protected]>2019-09-05 13:28:51 +0200
commitcbde2bc80674ecd27030424f1e125562c97b68bb (patch)
treea994ecf0febbd0cfae638c27093c771bc99293a3 /src/httpserver.h
parentMerge #15257: Scripts and tools: Bump flake8 to 3.7.8 (diff)
parenttest: Remove incorrect and unused try-block in assert_debug_log (diff)
downloaddiscoin-cbde2bc80674ecd27030424f1e125562c97b68bb.tar.xz
discoin-cbde2bc80674ecd27030424f1e125562c97b68bb.zip
Merge #16804: test: Remove unused try-block in assert_debug_log
fae91a09c453a9a95c382df765bd71e54698d5b2 test: Remove incorrect and unused try-block in assert_debug_log (MarcoFalke) Pull request description: This try block has accidentally been added by me in fa3e9f7627784ee00980590e5bf044a0e1249999. It was unused all the time, but commit 6011c9d72d1df5c2cd09de6f85c21eb4f7eb1ba8 added a `return` in the finally block, muting all exceptions. This can be tested by adding an `assert False` after any `with ...assert_debug_log...:` line. ACKs for top commit: laanwj: ACK fae91a09c453a9a95c382df765bd71e54698d5b2 ryanofsky: utACK fae91a09c453a9a95c382df765bd71e54698d5b2. I didn't know returning inside a `finally` block would cancel pending exceptions or return values, but I guess this makes sense and is a good thing to be aware of. Tree-SHA512: 47ed0165062060e9af055a3e92f1a529cd41d00476bfad64e3cd141ae084d22f926a343bb1257717e164e15459a59ab66aed198c95d18bf780d8cb0b76aa3298
Diffstat (limited to 'src/httpserver.h')
0 files changed, 0 insertions, 0 deletions