Add missing error check to Artifacts