We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c39cc1 commit d73cfd4Copy full SHA for d73cfd4
vulnerabilities/pipelines/__init__.py
@@ -10,6 +10,7 @@
10
import logging
11
from datetime import datetime
12
from datetime import timezone
13
+from traceback import format_exc as traceback_format_exc
14
from typing import Iterable
15
16
from aboutcode.pipeline import BasePipeline
@@ -124,6 +125,6 @@ def import_advisory(self, advisory: Advisory) -> int:
124
125
)
126
except Exception as e:
127
self.log(
- f"Failed to process advisory: {advisory!r} with error {e!r}",
128
+ f"Failed to import advisory: {advisory!r} with error {e!r}:\n{traceback_format_exc()}",
129
level=logging.ERROR,
130
0 commit comments