Permalink
Browse files

Using log instead of traceback

  • Loading branch information...
1 parent 70636ae commit b19828a1225fb8c8fbc7ed241873d382012c834d @FinchPowers FinchPowers committed Jan 24, 2013
Showing with 1 addition and 3 deletions.
  1. +1 −3 starcluster/deathrow.py
View
@@ -2,8 +2,6 @@
Contains code that should eventually be removed. Mostly used for maintaining
backwards compatibility while still moving the code forward.
"""
-import traceback
-
from starcluster import utils
from starcluster import exception
from starcluster import clustersetup
@@ -68,7 +66,7 @@ def _load_plugins(plugins, debug=True):
try:
plug_obj = klass(*config_args, **config_kwargs)
except Exception as exc:
- log.debug(traceback.format_exc())
+ log.error("Error occured:", exc_info=True)
raise exception.PluginLoadError(
"Failed to load plugin %s with "
"the following error: %s - %s" %

0 comments on commit b19828a

Please sign in to comment.