Catch multi-errors too?

kivy_mainline_and_py3.8
Tyler Goodlet 2019-03-03 11:01:34 -05:00
parent c3651da112
commit d0b1d0954f
1 changed files with 2 additions and 1 deletions

View File

@ -60,7 +60,8 @@ def travis():
pass
except (
KeyError, ValueError,
questrade.BrokerError, questrade.QuestradeError
questrade.BrokerError, questrade.QuestradeError,
trio.MultiError,
):
# 3 cases:
# - config doesn't have a ``refresh_token`` k/v