Ensure append_info_to_payload is called even if an exception is raised.

As #14903 seems to be stalled, this is my take.

cc @arthurnn @matthewd 

See:
* https://github.com/rails/rails/pull/14903
* https://github.com/roidrage/lograge/issues/37