Commit 81dea28f authored by Mikaël Salson's avatar Mikaël Salson Committed by Vidjil Team

database.js: Better log output on checkProcess

parent fe825d78
Pipeline #66578 failed with stages
in 32 seconds
......@@ -183,7 +183,6 @@ Database.prototype = {
* check if a server process is done(recursive)
* */
waitProcess: function (processId, interval, callback){
console.log("... " +processId)
var self=this;
var url = self.db_address + "default/checkProcess?processId="+processId;
......@@ -197,6 +196,7 @@ Database.prototype = {
xhrFields: {withCredentials: true},
success: function (result) {
self.connected = true;
console.log(result);
result = jQuery.parseJSON(result)
if (result.status == "COMPLETED"){
callback(result.data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment