if ($response->getStatusCode() != 200) {
            throw new Exception(sprintf("Failed to fetch videos from railcam: Error %s", $response->getStatusCode()));
        }