Add a call to wrapFDBException() in two more places

From where it was previously missing.