omdb: fix error handling
omdb: fix error handling

Former-commit-id: 681f68de89ea051f5db820ec85704d6981c4dafd [formerly cf5a32da89a21f0c1ce3c1b5f6b824a35dd2874a]
Former-commit-id: 8ae0a0300079fdfab6c85dd0f76de4b5b879c640
torhve/ivar2,haste/ivar2,torhve/ivar2,torhve/ivar2