Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
genieacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
genieacs
Commits
4da973f4
Commit
4da973f4
authored
Apr 15, 2025
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Task should not fail if device is offline
parent
5cbbef52
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
Makefile
Makefile
+1
-0
genieacs-1.2.5-handle_unreachable_URL.patch
genieacs-1.2.5-handle_unreachable_URL.patch
+12
-0
No files found.
Makefile
View file @
4da973f4
...
@@ -6,6 +6,7 @@ all: acs-cwmp-service acs-fs-service acs-nbi-service acs-ui-service genieacs-con
...
@@ -6,6 +6,7 @@ all: acs-cwmp-service acs-fs-service acs-nbi-service acs-ui-service genieacs-con
tar
xf
genieacs-1.2.5.tar.gz
tar
xf
genieacs-1.2.5.tar.gz
patch
-Np1
-d
genieacs-1.2.5
<
genieacs-1.2.5-ping_fix.patch
patch
-Np1
-d
genieacs-1.2.5
<
genieacs-1.2.5-ping_fix.patch
patch
-Np1
-d
genieacs-1.2.5
<
genieacs-1.2.5-genieacs-1.2.5-handle_unreachable_URL.patch
patch
-Np1
-d
genieacs-1.2.5
<
genieacs-1.2.5-handle_empty_connection_URL.patch
patch
-Np1
-d
genieacs-1.2.5
<
genieacs-1.2.5-handle_empty_connection_URL.patch
cd
genieacs-1.2.5
&&
npm
install
cd
genieacs-1.2.5
&&
npm
install
cd
genieacs-1.2.5
&&
NODE_OPTIONS
=
"--max-old-space-size=3072"
npm run build
cd
genieacs-1.2.5
&&
NODE_OPTIONS
=
"--max-old-space-size=3072"
npm run build
...
...
genieacs-1.2.5-handle_unreachable_URL.patch
0 → 100644
View file @
4da973f4
diff -uNr genieacs-1.2.5/lib/connection-request.ts genieacs-1.2.5-handle_unreachable_URL/lib/connection-request.ts
--- genieacs-1.2.5/lib/connection-request.ts 2021-03-13 10:06:19.000000000 +1030
+++ genieacs-1.2.5-handle_unreachable_URL/lib/connection-request.ts 2025-04-15 10:22:06.511149592 +0930
@@ -157,7 +157,7 @@
}
if (err["code"] === "ECONNRESET" || err["code"] === "ECONNREFUSED")
- return "Device is offline";
+ return "";
return `Connection request error: ${err.message}`;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment