Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(683)

Unified Diff: recipe_engine/util.py

Issue 2253943003: Formally define step config, pass to stream. (Closed) Base URL: https://github.com/luci/recipes-py@nest-single-event
Patch Set: Rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: recipe_engine/util.py
diff --git a/recipe_engine/util.py b/recipe_engine/util.py
index 97238567d8f5aabed71379891d1ec79ab4c69b30..cb3257b37f1f98027aae40c9b4b699c15d88c26a 100644
--- a/recipe_engine/util.py
+++ b/recipe_engine/util.py
@@ -162,7 +162,7 @@ def raises(exc_cls, stream_engine=None):
if stream_engine:
# Now do it a little nicer with annotations.
- with stream_engine.new_step_stream('Recipe engine bug') as stream:
+ with stream_engine.make_step_stream('Recipe engine bug') as stream:
stream.set_step_status('EXCEPTION')
with stream.new_log_stream('exception') as log:
log.write_split(traceback.format_exc())

Powered by Google App Engine
This is Rietveld 408576698