Replace INSTALL_ERROR with proper error codes.
This commit is contained in:
		@@ -384,7 +384,7 @@ QString IsmasClient::errorBackendNotConnected(QString const &info,
 | 
			
		||||
                                              QString const &version) {
 | 
			
		||||
    return updateNewsToIsmas("U0003",
 | 
			
		||||
                             m_progressInPercent,
 | 
			
		||||
                             RESULT_CODE::INSTALL_ERROR,
 | 
			
		||||
                             RESULT_CODE::ISMAS_NO_CONNECTION_ERROR,
 | 
			
		||||
                             "CHECK BACKEND CONNECTIVITY",
 | 
			
		||||
                             info.toStdString().c_str(),
 | 
			
		||||
                             version.toStdString().c_str());
 | 
			
		||||
@@ -394,7 +394,7 @@ QString IsmasClient::errorGitClone(QString const &info,
 | 
			
		||||
                                   QString const &version) {
 | 
			
		||||
    return updateNewsToIsmas("U0003",
 | 
			
		||||
                             m_progressInPercent,
 | 
			
		||||
                             RESULT_CODE::INSTALL_ERROR,
 | 
			
		||||
                             RESULT_CODE::GIT_CLONE_ERROR,
 | 
			
		||||
                             "CLONE CUSTOMER REPOSITORY FAILED",
 | 
			
		||||
                             info.toStdString().c_str(),
 | 
			
		||||
                             version.toStdString().c_str());
 | 
			
		||||
@@ -442,7 +442,7 @@ QString IsmasClient::updateTriggerSet(QString const &info, QString const &versio
 | 
			
		||||
QString IsmasClient::errorUpdateTrigger(QString const &info, QString const &version) {
 | 
			
		||||
    return updateNewsToIsmas("U0003",
 | 
			
		||||
                             m_progressInPercent,
 | 
			
		||||
                             RESULT_CODE::INSTALL_ERROR,
 | 
			
		||||
                             RESULT_CODE::ISMAS_TRIGGER_ERROR,
 | 
			
		||||
                             "CHECK UPDATE TRIGGER",
 | 
			
		||||
                             info.toStdString().c_str(),
 | 
			
		||||
                             version.toStdString().c_str());
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user