@ -37,6 +37,7 @@ class ScoresController < ApplicationController
end
def destroy
raise 'not permitted'
# @score.destroy!
# redirect_to scores_url, notice: 'Score was successfully destroyed.', status: :see_other
@ -36,7 +36,11 @@ module Semantic
self.logger = logger
self.color = color_map[log.level]
wrap_level(compute_useful_length, message, payload, exception)
computed_exception = exception
result = wrap_level(compute_useful_length, message, payload, computed_exception)
return result unless computed_exception
result << "\n" << build_terminus
def reject(log)