[checkmk-commits] Add missing error handling to inventory call