#1664 Handle Product Pages 404s gracefully
Merged 3 years ago by mikem. Opened 3 years ago by breilly.
breilly/fm-orchestrator productpages-1663  into  master

@@ -387,6 +387,8 @@ 

  

          try:

              pp_rv = requests.get(schedule_url, timeout=15)

+             # raise exception if we receive 404

+             pp_rv.raise_for_status()

              pp_json = pp_rv.json()

              # Catch requests failures and JSON parsing errors

          except (requests.exceptions.RequestException, ValueError):