mis en console des erreurs
This commit is contained in:
parent
2127d5ca16
commit
29d696bdb4
@ -38,6 +38,8 @@ function showError(step, message, errors) {
|
|||||||
$("#installUpdateProgress").hide();
|
$("#installUpdateProgress").hide();
|
||||||
if (typeof message === 'object' && message.data) {
|
if (typeof message === 'object' && message.data) {
|
||||||
var errorMessage = message.data.replace(/"/g, "");
|
var errorMessage = message.data.replace(/"/g, "");
|
||||||
|
console.log("Step : " + step);
|
||||||
|
console.log("Errur : " + message.data);
|
||||||
$("#installUpdateErrorMessage").text(errorMessage);
|
$("#installUpdateErrorMessage").text(errorMessage);
|
||||||
} else {
|
} else {
|
||||||
$("#installUpdateErrorMessage").text(message.replace(/<[^p].*?>/g, ""));
|
$("#installUpdateErrorMessage").text(message.replace(/<[^p].*?>/g, ""));
|
||||||
|
Loading…
Reference in New Issue
Block a user