swap valueerror for runtimeerror

This commit is contained in:
ikkemaniac 2020-06-20 23:03:58 +02:00
parent def6755935
commit 6b2c229a49

View file

@ -345,7 +345,7 @@ class TestUpdater:
# case inf loop protection
if self.update_id > 10:
raise ValueError
raise RuntimeError('Looks like we are hitting an infinity loop. Stopping.')
# case 2
if len(args) > 0: