FlattenException from the HttpKernel is deprecated, removed type hint and manually checking the exception type
updated UPGRADING.md
Merge pull request #565 from odino/master

FlattenException incompatibility with Sf2.3