Fix 500 error for live source route

Github

Github
API
This update makes it so that we return a better error message in the live source route when something goes wrong
This update makes it so that we return a better error message in the live source route when something goes wrong