Hi, how can I catch net::ERR_CONNECTION_RESET error while uploading a file. I am using uploader view. It did not catch on onFileUploadError event:
{
view: "uploader",
id: "import_all_id",
label: this._("Restore Metadata"),
autosend: true,
type: "iconButton",
icon: "upload",
align: "center",
multiple: false,
inputName: "file",
on: {
onUploadComplete: (response) => {
displayImportResults(response);
loadingIcon("windowId", true);
if (webix.$$("impExpId")) webix.$$("impExpId").close();
},
onAfterFileAdd: (response) => {
loadingIcon("windowId", false);
},
onFileUploadError: (file, response) => {
console.log(response);
loadingIcon("windowId", true);
},
onItemClick: () => {
webix.$$("import_all_id").data.upload = this.importProject();
}
}