mis en console des erreurs

This commit is contained in:
Fred Tempez 2023-07-22 18:29:44 +02:00
parent 2127d5ca16
commit 29d696bdb4

View File

@ -38,6 +38,8 @@ function showError(step, message, errors) {
$("#installUpdateProgress").hide();
if (typeof message === 'object' && message.data) {
var errorMessage = message.data.replace(/"/g, "");
console.log("Step : " + step);
console.log("Errur : " + message.data);
$("#installUpdateErrorMessage").text(errorMessage);
} else {
$("#installUpdateErrorMessage").text(message.replace(/<[^p].*?>/g, ""));