(self, filename: str, content: str)
| 20 | logging.error("Failed to create debug directory") |
| 21 | |
| 22 | def write_to_file(self, filename: str, content: str) -> None: |
| 23 | try: |
| 24 | with open(os.path.join(self.debug_artifacts_path, filename), "w") as file: |
| 25 | file.write(content) |
| 26 | except Exception as e: |
| 27 | logging.error(f"Failed to write to file: {e}") |
| 28 | |
| 29 | def extract_html_content(self, text: str) -> str: |
| 30 | return str(text.split("<html>")[-1].rsplit("</html>", 1)[0] + "</html>") |
nothing calls this directly
no outgoing calls
no test coverage detected