Skip to content

Commit

Permalink
Fix message case
Browse files Browse the repository at this point in the history
  • Loading branch information
malton-ont committed Dec 5, 2023
1 parent ecdbfc6 commit 66ba4ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dorado/models/models.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void suggest_models(const std::vector<ModelInfo>& models,
const ModelVariantPair& model,
const ModsVariantPair& mods) {
if (Chemistry::NONE == chemistry) {
throw std::runtime_error("cannot get model without chemistry");
throw std::runtime_error("Cannot get model without chemistry");
}

if (mods.has_variant()) {
Expand Down Expand Up @@ -154,7 +154,7 @@ ModelInfo find_model(const std::vector<ModelInfo>& models,
const ModsVariantPair& mods,
bool suggestions) {
if (Chemistry::NONE == chemistry) {
throw std::runtime_error("cannot get model without chemistry");
throw std::runtime_error("Cannot get model without chemistry");
}
const auto matches = find_models(models, chemistry, model, mods);

Expand Down

0 comments on commit 66ba4ba

Please sign in to comment.