From 96881f216be0023b612d4fd570b738c23d7a5935 Mon Sep 17 00:00:00 2001 From: Paal Braathen Date: Tue, 28 Jul 2020 11:03:59 +0200 Subject: [PATCH] Remove explicit traceback printing --- pymisp/api.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pymisp/api.py b/pymisp/api.py index 078be9f..ea3557d 100644 --- a/pymisp/api.py +++ b/pymisp/api.py @@ -14,7 +14,6 @@ import re from uuid import UUID import warnings import sys -import traceback import copy from . import __version__, everything_broken @@ -137,7 +136,6 @@ class PyMISP: self._current_user_settings: List[MISPUserSetting] self._current_user, self._current_role, self._current_user_settings = self.get_user(pythonify=True, expanded=True) except Exception as e: - traceback.print_exc() raise PyMISPError(f'Unable to connect to MISP ({self.root_url}). Please make sure the API key and the URL are correct (http/https is required): {e}') try: