Skip to content
Merged
3 changes: 2 additions & 1 deletion sdks/python/apache_beam/transforms/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1436,7 +1436,8 @@ def _check_fn_use_yield_and_return(fn):
if has_yield and has_return:
return True
return False
except TypeError:
except Exception as e:
_LOGGER.info(str(e))
return False


Expand Down