Sha256: 63580e64d262d74ef6eaec9973e33a749f86f7a255e4ca5f9586550a6818cc54
Contents?: true
Size: 357 Bytes
Versions: 35
Compression:
Stored size: 357 Bytes
Contents
module Praxis class ErrorHandler def handle!(request, error) Application.instance.logger.error error.inspect error.backtrace.each do |line| Application.instance.logger.error line end response = Responses::InternalServerError.new(error: error) response.request = request response.finish end end end
Version data entries
35 entries across 35 versions & 1 rubygems