def method_with_exception():
try:
raise Exception("test exception")
except Exception as ex:
# Любая частичная обработка
# и передача ошибки вызывающему коду
raise ex
try:
method_with_exception()
except Exception as e:
print(e.args[0])