Skip to content

Commit

Permalink
add jedi traceback to debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
mriehl committed Jul 28, 2014
1 parent b655702 commit a9dee53
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ def analyze(project, logger):
errors.append(error)
except Exception as e:
logger.error("Jedi crashed: {0}".format(e))
import traceback
logger.debug(traceback.format_exc())

number_of_errors = len(errors)
output = logger.info if number_of_errors == 0 else logger.warn
Expand Down

0 comments on commit a9dee53

Please sign in to comment.