Skip to content

Commit

Permalink
Re-add debug information temporarly
Browse files Browse the repository at this point in the history
  • Loading branch information
SylvainDe committed Apr 1, 2015
1 parent a723fe1 commit 351592f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions didyoumean/didyoumean.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ def get_key_error_sugg(type_, value, _):
def get_suggestions_for_exception(type_, value, frame):
"""Get suggestions for an exception."""
error_types = {
Exception: print_error_info,
NameError: get_name_error_sugg,
AttributeError: get_attribute_error_sugg,
TypeError: get_type_error_sugg,
Expand Down

0 comments on commit 351592f

Please sign in to comment.