Module: DevSuite::Utils::ErrorHandler
- Extended by:
- ErrorHandler
- Included in:
- ErrorHandler
- Defined in:
- lib/dev_suite/utils/error_handler.rb
Instance Method Summary collapse
Instance Method Details
#handle_error(error) ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/dev_suite/utils/error_handler.rb', line 8 def handle_error(error) Utils::Logger.log( "Oops! An error occurred: #{error.}", level: :error, emoji: :error, ) Utils::Logger.log( "For more information, please refer to the README: " \ "https://github.com/patrick204nqh/dev_suite", level: :error, emoji: :document, ) # exit(1) end |