Rescue 500 error for handling Case locations not found

Rescue 500 error AND handler case locations not found are two 2 different issue.
Reason 500 because it's have too many request in short time. Not bug