Add defer rescued back in

pull/258/merge
obscuren 10 years ago
parent d5d9746ca3
commit acc8f7fadc
  1. 5
      cmd/ethereum/repl/repl.go

@ -86,6 +86,11 @@ func (self *JSRepl) Stop() {
}
func (self *JSRepl) parseInput(code string) {
defer func() {
if r := recover(); r != nil {
fmt.Println("[native] error", r)
}
}()
value, err := self.re.Run(code)
if err != nil {

Loading…
Cancel
Save