Sha256: a46642ac038db56f3c8540cb313d2d3a732286428309b31b8efd7848b473c1a3
Contents?: true
Size: 390 Bytes
Versions: 1
Compression:
Stored size: 390 Bytes
Contents
require 'mkit/exceptions' module MKIt class Server < Sinatra::Base set :default_content_type, :json set :dump_errors, true set :show_exceptions, false set :raise_errors, false error MKIt::BaseException do |e| MKItLogger.debug e error e.error_code, e.message end error do |e| MKItLogger.debug e error 500, e.message end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mkit-0.4.0 | lib/mkit/app/mkit_server.rb |