most-telephone-75272
02/01/2024, 8:31 AMstart
on the UI.
@card(type="html")
@catch(var="error")
@step
def start(self):
self.html = """<h1>hello world</h1>"""
raise Exception("boom!")
self.next(self.end)
def end(self):
if self.error:
raise self.error
However the problem is I can't retry that step on argo because as start
has the catch it didn't fail. The step that fails is end
I would like to do something like this
@card(type="html")
@step
def start(self):
self.html = """<h1>hello world</h1>"""
raise Exception("boom!")
Or like this where start
step fails but already produced cards are accesible through metaflow UI.
@card
@step
def start(self):
current.card.append(HTMLCard(html=html))
raise Exception("boom!")