more robust check for no retvalue in error handler
more robust check for no retvalue in error handler

rstudio/reticulate,terrytangyuan/reticulate,rstudio/reticulate,rstudio/reticulate,terrytangyuan/reticulate,rstudio/reticulate,terrytangyuan/reticulate,rstudio/reticulate