From 1d2d3c4b8451beba3e60d3f1f436b6702251f485 Mon Sep 17 00:00:00 2001 From: remittor Date: Mon, 29 Dec 2025 19:36:12 +0300 Subject: [PATCH] luci: updater: Skip error -32000 --- .../htdocs/luci-static/resources/view/zapret/updater.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/luci-app-zapret/htdocs/luci-static/resources/view/zapret/updater.js b/luci-app-zapret/htdocs/luci-static/resources/view/zapret/updater.js index ff28a97..08fddf5 100644 --- a/luci-app-zapret/htdocs/luci-static/resources/view/zapret/updater.js +++ b/luci-app-zapret/htdocs/luci-static/resources/view/zapret/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;