Fixes #1820 (Exceptions not displayed when saving session)

Change-Id: Ia02996086d5079664ac2d09addf04fd6bfd0ea0d