medix_index: Display errors when library calls fail