Add missing error clause