cbe9cfb0e0d851633c571fe61b1fc3ba5553e080,bokeh/application/handlers/code_runner.py,CodeRunner,run,#CodeRunner#Any#Any#,173

Before Change



            if post_check: post_check()

        except Exception as e:
            self._failed = True
            self._error_detail = traceback.format_exc()

            _exc_type, _exc_value, exc_traceback = sys.exc_info()
            filename, line_number, func, txt = traceback.extract_tb(exc_traceback)[-1]

            self._error = "%s\nFile \"%s\", line %d, in %s:\n%s" % (str(e), os.path.basename(filename), line_number, func, txt)

        finally:
            // undo sys.path, CWD fixups
            os.chdir(_cwd)

After Change



            if post_check: post_check()

        except Exception as e:
            handle_exception(self, e)

        finally:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: bokeh/bokeh
Commit Name: cbe9cfb0e0d851633c571fe61b1fc3ba5553e080
Time: 2020-03-28
Author: pete@wearpants.org
File Name: bokeh/application/handlers/code_runner.py
Class Name: CodeRunner
Method Name: run


Project Name: mlflow/mlflow
Commit Name: e2f830e34ff5ce508d4bcddf6e251a0da7654fbd
Time: 2018-09-25
Author: 39497902+dbczumar@users.noreply.github.com
File Name: mlflow/mleap.py
Class Name:
Method Name: add_to_model


Project Name: deepmind/dm_control
Commit Name: fb068045b1c322d14ac488ecfbc698d158c7d630
Time: 2020-11-26
Author: alimuldal@google.com
File Name: dm_control/composer/task.py
Class Name: Task
Method Name: _check_root_entity