catch error on export
Merge pull request #1743 from ether/dont-crash-on-export-abiword

catch error on export