Handling missing matching case.
Correctly handles exceptions when matching was missing.
After this MR, we correctly return 602 instead of 500.
Correctly handles exceptions when matching was missing.
After this MR, we correctly return 602 instead of 500.