Added missing store regex pattern for prompt found after error (#35820)

pull/35917/merge
bdowling 7 years ago committed by Nathaniel Case
parent bc6b96d42e
commit 0fee332643

@ -487,6 +487,7 @@ class Connection(ConnectionBase):
match = regex.search(response)
if match:
errored_response = response
self._matched_pattern = regex.pattern
self._matched_prompt = match.group()
break

Loading…
Cancel
Save