onfinished network operation callback on error

This commit is contained in:
Bogdan Pilyugin 2024-04-04 14:50:07 +02:00
parent 4f8ee9bde6
commit 338d9b8c16

View File

@ -150,6 +150,7 @@ function PostDataControlled(varlist, messtype, applytype, onfinished, enable) {
.catch((err) => {
Notify.create({ color: "negative", position: "top", message: err.message, icon: "report_problem", });
console.log(JSON.stringify(err));
if (onfinished) onfinished();
});
}