update close and error handlers for phoenix
update close and error handlers for phoenix

learn-co/learn-ide,learn-co/learn-ide-3,learn-co/learn-ide,learn-co/learn-ide-3,learn-co/learn-ide-3,learn-co/learn-ide