Add additional log info

This commit is contained in:
Paulo Gustavo Veiga 2022-02-18 10:44:07 -08:00
parent 9e92b87495
commit 98126049d3

View File

@ -110,7 +110,8 @@ class RESTPersistenceManager extends PersistenceManager {
clearTimeout(persistence.clearTimeout);
}
persistence.onSave = false;
}).catch(() => {
}).catch((error) => {
console.log(`Unexpected save error => ${error}`);
const userMsg = { severity: 'SEVERE', message: $msg('SAVE_COULD_NOT_BE_COMPLETED') };
events.onError(userMsg);