diff --git a/sandbox/grist/friendly_errors.py b/sandbox/grist/friendly_errors.py index a736b6ab..b6ab3781 100644 --- a/sandbox/grist/friendly_errors.py +++ b/sandbox/grist/friendly_errors.py @@ -24,6 +24,10 @@ def friendly_message(exc): # with a suggestion to report the case on GitHub. return "" + if "All built-in exceptions defined by Python are derived from `Exception`" in generic: + # Unhelpful explanation for a generic `Exception` + return "" + # Add a blank line between the standard message and the friendly message result = "\n\n" + generic diff --git a/sandbox/requirements3.txt b/sandbox/requirements3.txt index dcf6ded3..6fec0ea4 100644 --- a/sandbox/requirements3.txt +++ b/sandbox/requirements3.txt @@ -1,9 +1,9 @@ ### python 3 requirements, see requirements.txt for python 2 # friendly-traceback and its dependencies, for python 3 only -friendly-traceback==0.5.46 -stack-data==0.3.0 -executing==0.8.3 +friendly-traceback==0.7.48 +stack-data==0.5.1 +executing==1.1.1 pure-eval==0.2.2 # openpyxl and its dependencies, for imports, which are python 3 only