Skip to content

Latest commit

 

History

History
53 lines (46 loc) · 2.07 KB

File metadata and controls

53 lines (46 loc) · 2.07 KB

########################################################################################

_____ _ _ _ _ _ _

| __| | | () | | | | | | |

| |____ _____ ___ _ __ | |_ _ ___ _ __ | |_| | __ _ _ __ __| | | ___ _ __

| __\ / / / _ \ ' | | |/ _ | ' \ | _ |/ _ | '_ \ / _ | |/ _ \ '|

| |> < (| __/ |) | || | () | | | | | | | | (| | | | | (_| | | __/ |

_//___| ./ _||_/|| || _| |/_,|| ||_,||_|_|

| |

|_|

########################################################################################

IMPORTANT - IF UPGRADING EXCEPTION HANDLER (to 0.4.7)* DELETE INITIALIZER (config/initializers/exception_handler.rb)

We've changed the initialization process for ExceptionHandler.

The initializer has been replaced with /config/application.rb options:

#config/application.rb config.exception_handler = { db: false, #-> defaults to :errors if true, else use :table_name email: false, #-> need to integrate social: { :twitter => 'frontlineutils', :facebook => 'frontline.utilities', :linkedin => 'frontline-utilities', :youtube => 'frontlineutils', :fusion => 'frontlineutils', :url => { :facebook => 'https://facebook.com', :twitter => 'http://twitter.com', :youtube => 'https://youtube.com/user', :linkedin => 'https://linkedin.com/company', :fusion => 'https://frontlinefusion.com', }, }, layouts: { '400' => nil, '500' => 'exception' }, }

If you've made any changes to your initializer, you MUST DELETE it, replacing the options with those in config/application.rb, or config/environments/production.rb.

More info on the ExceptionHandler github page: http://github.com/richpeck/exception_handler

Thank you & enjoy!!