Activate popup when exception occurs in the repl