Skip to content

Commit

Permalink
add debugging data for circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
brettlangdon committed May 10, 2024
1 parent 349efa8 commit 65722d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ddtrace/internal/module.py
Expand Up @@ -324,6 +324,9 @@ def _check_installed(cls) -> None:
def install(cls) -> None:
"""Install the module watchdog."""
if cls.is_installed():
import traceback

traceback.print_stack()
raise RuntimeError("%s is already installed" % cls.__name__)

cls._instance = cls()
Expand Down

0 comments on commit 65722d4

Please sign in to comment.