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

Unified Diff: recipe_engine/run.py

Issue 1948023002: triggering: add critical flag (Closed) Base URL: git@github.com:luci/recipes-py.git@master
Patch Set: do not print <br> in step text Created 4 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_engine/run.py
diff --git a/recipe_engine/run.py b/recipe_engine/run.py
index 03fa3772d87cc571e1ed13af97e8ef16fea6a1e6..68c47b57d3a2812e5f8c637ccb680a1cb37255de 100644
--- a/recipe_engine/run.py
+++ b/recipe_engine/run.py
@@ -247,9 +247,10 @@ def run_steps(properties, stream_engine, step_runner, universe):
engine,
recipe_test_api.DisabledTestData())
- s.add_step_text('<br/>running recipe: "%s"' % recipe)
+ s.add_step_text('running recipe: "%s"' % recipe)
except (loader.LoaderError, ImportError, AssertionError) as e:
- s.add_step_text('<br/>%s' % '<br/>'.join(str(e).splitlines()))
+ for line in str(e).splitlines():
+ s.add_step_text(line)
s.set_step_status('EXCEPTION')
return RecipeResult({
'status_code': 2,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698