Skip to content

Commit

Permalink
Missed changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bruhmoent authored Jul 17, 2023
1 parent 0b6c0d4 commit fd95910
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/addon/addon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,12 @@ Addon::parse(const ReaderMapping& mapping)

if (addon->m_id.empty())
{
throw std::runtime_error("Addon id is empty");
throw std::runtime_error("Add-on id is empty");
}

if (addon->m_id.find_first_not_of(s_allowed_characters) != std::string::npos)
{
throw std::runtime_error("Addon id contains illegal characters: " + addon->m_id);
throw std::runtime_error("Add-on id contains illegal characters: " + addon->m_id);
}

mapping.get("version", addon->m_version);
Expand Down

0 comments on commit fd95910

Please sign in to comment.