Save exception before sending to prevent data loss
Merge pull request #202 from kato-im/master

Save exception before sending to prevent data loss