1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

B #4853: Execute all cache callbacks even when one of them fails

This commit is contained in:
Carlos Martín 2016-10-07 12:58:11 +02:00
parent 1973d9b176
commit 43b8c108bc

View File

@ -194,7 +194,11 @@ define(function(require) {
if (callback) {
//console.log(cache_name+" list. Callback called");
callback(request, list, response);
try{
callback(request, list, response);
}catch(err){
console.error(err);
}
}
}