Skip to content

Commit

Permalink
Dev Better error message on import
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Jun 16, 2023
1 parent e76bbdc commit 4676e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/admin/import_helper.php
Expand Up @@ -2558,7 +2558,7 @@ function XMLImportResponses($sFullFilePath, $iSurveyID, $aFieldReMap = array())
}
}
if (!SurveyDynamic::model($iSurveyID)->insertRecords($aInsertData)) {
throw new Exception(gT("Error") . ": Failed to insert data[16]<br />");
throw new Exception(gT("Error") . ": Failed to insert data in response table<br />");
}
$results['responses']++;
}
Expand Down

0 comments on commit 4676e4d

Please sign in to comment.