Repl wip
Restore repl error context