From 89c5dec08d4c2ba5778c46f00f1c974b5aef2f73 Mon Sep 17 00:00:00 2001 From: Vivek Panyam Date: Thu, 28 May 2020 11:26:46 -0400 Subject: [PATCH] Improve error message for a missing backend in backend_registration (#360) This PR clarifies an error message and includes a link to the docs --- source/neuropod/internal/backend_registration.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/neuropod/internal/backend_registration.cc b/source/neuropod/internal/backend_registration.cc index b07e3100..706924a1 100644 --- a/source/neuropod/internal/backend_registration.cc +++ b/source/neuropod/internal/backend_registration.cc @@ -246,8 +246,9 @@ BackendFactoryFunction get_backend_for_type(const std::vector & } // Don't have anything that matches - NEUROPOD_ERROR("Neuropod backend not found for type '{}' and version range '{}'! Was not able to load default " - "backends either. Retry with log level TRACE for more information.", + NEUROPOD_ERROR("The model being loaded requires a Neuropod backend for type '{}' and version range '{}'. However, " + "a backend satisfying these requirements was not found. See the installation instructions " + "at https://neuropod.ai to install a backend. Retry with log level TRACE for more information.", type, target_version_range); }