Fix a crash with mismatch package versions.
This commit is contained in:
parent
9818a123ca
commit
6285a409ed
@ -135,8 +135,7 @@ protected:
|
|||||||
|
|
||||||
std::string ver(m_owner->root()->applicationVersion());
|
std::string ver(m_owner->root()->applicationVersion());
|
||||||
if (!checkVersion(ver, props)) {
|
if (!checkVersion(ver, props)) {
|
||||||
SG_LOG(SG_GENERAL, SG_WARN, "downloaded catalog " << m_owner->url() << ", version mismatch:\n\t"
|
SG_LOG(SG_GENERAL, SG_WARN, "downloaded catalog " << m_owner->url() << ", version required " << ver);
|
||||||
<< props->getStringValue("version") << " vs required " << ver);
|
|
||||||
|
|
||||||
// check for a version redirect entry
|
// check for a version redirect entry
|
||||||
std::string url = redirectUrlForVersion(ver, props);
|
std::string url = redirectUrlForVersion(ver, props);
|
||||||
|
Loading…
Reference in New Issue
Block a user