Skip to content

Commit

Permalink
Normalizer needs to fire events up the stack.
Browse files Browse the repository at this point in the history
`Normalizer#call` didn't have a call to `fire(event)`, meaning it was stopping all events from proceeding up the middleware stack.

Easy fix, not so easy to debug.
  • Loading branch information
faultyserver committed Sep 16, 2016
1 parent 2600257 commit e3ae8b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions middlewares/normalizer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ def call event
iterate_arguments(event) do |arg, key|
handler_for(arg)&.call(arg)
end

fire(event)
end


Expand Down

0 comments on commit e3ae8b1

Please sign in to comment.