Skip to content

Commit

Permalink
Improve error message for a missing backend in backend_registration (#…
Browse files Browse the repository at this point in the history
…360)

This PR clarifies an error message and includes a link to the docs
  • Loading branch information
VivekPanyam authored May 28, 2020
1 parent e2afeab commit 89c5dec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/neuropod/internal/backend_registration.cc
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,9 @@ BackendFactoryFunction get_backend_for_type(const std::vector<BackendLoadSpec> &
}

// 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);
}
Expand Down

0 comments on commit 89c5dec

Please sign in to comment.