@bcipolli , looking at this now and I'm confused again. what you don't understand here? the two checks are necessary because it depends on the error return code.