Skip to content

Commit 37e11a2

Browse files
committed
add logs for line
1 parent 59f9a1b commit 37e11a2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

reflex/testing.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,10 +408,13 @@ def _wait_frontend(self):
408408
print(line) # for pytest diagnosis #noqa: T201
409409
m = re.search(reflex.constants.Next.FRONTEND_LISTENING_REGEX, line)
410410
if m is not None:
411+
print(m.group(1)) # for pytest diagnosis #noqa: T201
411412
self.frontend_url = m.group(1)
412413
config = reflex.config.get_config()
413414
config.deploy_url = self.frontend_url
414415
break
416+
else:
417+
print("No match found.") # for pytest diagnosis #noqa: T201
415418
if self.frontend_url is None:
416419
raise RuntimeError("Frontend did not start")
417420

0 commit comments

Comments
 (0)