robertkrimen / otto

A JavaScript interpreter in Go (golang)
http://godoc.org/github.com/robertkrimen/otto
MIT License
8.04k stars 584 forks source link

fix: catch panic in try catch #455

Closed stevenh closed 1 year ago

stevenh commented 1 year ago

Ensure that a panic is caught if thrown in a try catch block.

Fixes #383