Skip to content

Commit c54afe3

Browse files
committed
Remove orig traceback
1 parent a4da726 commit c54afe3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

debug_toolbar/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def import_string(import_name: str) -> t.Any:
2424
try:
2525
return getattr(module, obj_name)
2626
except AttributeError as e:
27-
raise ImportError(e)
27+
raise ImportError(e) from None
2828

2929

3030
def get_name_from_obj(obj: t.Any) -> str:

0 commit comments

Comments
 (0)