joelniklaus
commited on
Commit
•
4d2c440
1
Parent(s):
1947019
added more information in case of failure
Browse files- Multi_Legal_Pile.py +2 -3
Multi_Legal_Pile.py
CHANGED
@@ -310,6 +310,5 @@ class MultiLegalPile(datasets.GeneratorBasedBuilder):
|
|
310 |
"text": example.get("text", ""),
|
311 |
}
|
312 |
id_ += 1
|
313 |
-
except Exception
|
314 |
-
logger.
|
315 |
-
logger.error(e)
|
|
|
310 |
"text": example.get("text", ""),
|
311 |
}
|
312 |
id_ += 1
|
313 |
+
except Exception:
|
314 |
+
logger.exception("Error while processing file %s", data_info["filepath"])
|
|