This commit is contained in:
Kovid Goyal 2022-07-09 18:18:39 +05:30
commit e66c896d25
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -903,7 +903,7 @@ class _Interpreter:
self.break_reporter("'for' list value", '', line_number)
ret = ''
return ret
except (StopException, ValueError) as e:
except (StopException, ValueError, ReturnExecuted) as e:
raise e
except Exception as e:
self.error(_("Unhandled exception '{0}'").format(e), line_number)