Properly handle exceptions in flow-parsoid-utils

Change-Id: I646322a03de9e82039d9744617b86716e37319ff
Merge "Properly handle exceptions in flow-parsoid-utils"