Skip to content
Snippets Groups Projects
Commit 221b8179 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

MAINT: nicer printing of exceptions (with trace)

parent bf79df59
No related branches found
No related tags found
No related merge requests found
...@@ -36,6 +36,8 @@ match. This occurs in basically three steps: ...@@ -36,6 +36,8 @@ match. This occurs in basically three steps:
""" """
import traceback
import caosdb as db import caosdb as db
from caosdb.exceptions import TransactionError from caosdb.exceptions import TransactionError
...@@ -92,6 +94,7 @@ class Crawler(object): ...@@ -92,6 +94,7 @@ class Crawler(object):
cfood.update_identifiables() cfood.update_identifiables()
cfood.push_identifiables_to_CaosDB() cfood.push_identifiables_to_CaosDB()
except Exception as e: except Exception as e:
traceback.print_exc()
print(e) print(e)
@staticmethod @staticmethod
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment