From ccc797b2c5e095afd9e8a32d2dcafd8e71f1032a Mon Sep 17 00:00:00 2001 From: Mali Akmanalp Date: Mon, 10 Aug 2015 14:58:27 -0400 Subject: [PATCH] Friendlier message --- colombia/data/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colombia/data/views.py b/colombia/data/views.py index dfd82fe..00ce9b4 100644 --- a/colombia/data/views.py +++ b/colombia/data/views.py @@ -76,7 +76,7 @@ def eeey_location_products(entity_type, entity_id, buildingblock_level, sub_id): if buildingblock_level != "country": - msg = "Data doesn't exist at level {}" .format(buildingblock_level) + msg = "Data doesn't exist at level {}. Try country.".format(buildingblock_level) abort(400, body=msg) # Assert level of sub_id is same as entity_id