Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ class ArxivXmlParser:
|
|
50 |
papers.append(paper)
|
51 |
return papers
|
52 |
except Exception as e:
|
53 |
-
|
54 |
return []
|
55 |
|
56 |
def parse_entry(self, entry) -> Optional[dict]:
|
@@ -90,7 +90,7 @@ class ArxivXmlParser:
|
|
90 |
'bibtex_entry': bibtex_entry
|
91 |
}
|
92 |
except Exception as e:
|
93 |
-
|
94 |
return None
|
95 |
|
96 |
@staticmethod
|
|
|
50 |
papers.append(paper)
|
51 |
return papers
|
52 |
except Exception as e:
|
53 |
+
logger.error(f"Error parsing ArXiv XML: {e}")
|
54 |
return []
|
55 |
|
56 |
def parse_entry(self, entry) -> Optional[dict]:
|
|
|
90 |
'bibtex_entry': bibtex_entry
|
91 |
}
|
92 |
except Exception as e:
|
93 |
+
logger.error(f"Error parsing ArXiv entry: {e}")
|
94 |
return None
|
95 |
|
96 |
@staticmethod
|