Use Thread.current for exception on View class
Use Thread.current for exception on View class

It broke the View#only_on_error_page method.

gsamokovarov/web-console,gsamokovarov/web-console,sh19910711/web-console,sh19910711/web-console,rails/web-console,sh19910711/web-console,gsamokovarov/web-console,sh19910711/web-console,rails/web-console,rails/web-console,rails/web-console,gsamokovarov/web-console