Add missing error argument to getCurrentPostion call