(cfd_logs)
| 182 | send_request(s, tunnel_url, True) |
| 183 | |
| 184 | def _log_cloudflared_logs(cfd_logs): |
| 185 | log_file = cfd_logs |
| 186 | if os.path.isdir(cfd_logs): |
| 187 | files = os.listdir(cfd_logs) |
| 188 | if len(files) == 0: |
| 189 | return |
| 190 | log_file = os.path.join(cfd_logs, files[0]) |
| 191 | with open(log_file, "r") as f: |
| 192 | LOGGER.warning("Cloudflared Tunnel was not ready:") |
| 193 | for line in f.readlines(): |
| 194 | LOGGER.warning(line) |
| 195 | |
| 196 | |
| 197 | @retry(stop_max_attempt_number=MAX_RETRIES, wait_fixed=BACKOFF_SECS * 1000) |
no outgoing calls
no test coverage detected
searching dependent graphs…