From 55041b3b161f756c0f2012f1bf1494babe7002e7 Mon Sep 17 00:00:00 2001 From: remittor Date: Mon, 29 Dec 2025 19:36:59 +0300 Subject: [PATCH] luci: updater: Skip error -32000 --- .../htdocs/luci-static/resources/view/zapret2/updater.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/updater.js b/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/updater.js index 9193bbf..9552d97 100644 --- a/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/updater.js +++ b/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/updater.js @@ -171,9 +171,13 @@ return baseclass.extend({ this.setStage(999); } } catch (e) { + if (e.message?.includes('RPC call to file/exec failed with error -32000: Object not found')) { + console.warn('WARN: installUpdates: ' + e.message); + return; // goto next timer iteration + } clearInterval(timer); this.appendLog('ERROR: installUpdates: ' + e.message); - this.appendLog('ERROR: installUpdates: ' + e.stack?.trim().split('\n').pop()); + this.appendLog('ERROR: installUpdates: ' + e.stack?.trim().split('\n')[0]); this.setStage(999); } finally { timerBusy = false;