Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sfphoton-web-plugin-dyndns
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Schulcz Ferenc
sfphoton-web-plugin-dyndns
Commits
3657ad76
Commit
3657ad76
authored
2 months ago
by
Ferenc Schulcz
Browse files
Options
Downloads
Patches
Plain Diff
Further elaborate error messages
parent
f4c2c2ac
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dyndns.py
+8
-2
8 additions, 2 deletions
dyndns.py
with
8 additions
and
2 deletions
dyndns.py
+
8
−
2
View file @
3657ad76
...
...
@@ -72,7 +72,10 @@ def dyndnsRegister(**kwargs):
for
s
in
registrationStatuses
:
if
s
[
1
]
>
299
:
allSuccess
=
False
print
(
f
"
Dyndns registration error:
{
s
[
0
]
}
was unreachable.
"
)
if
s
[
1
]
==
600
:
print
(
f
"
Dyndns registration error:
{
s
[
0
]
}
was unreachable.
"
)
else
:
print
(
f
"
Dyndns registration error:
{
s
[
0
]
}
gave HTTP code
{
s
[
1
]
}
.
"
)
else
:
allFail
=
False
if
allFail
:
...
...
@@ -104,7 +107,10 @@ def dyndnsUpdate(**kwargs):
for
s
in
updateStatuses
:
if
s
[
1
]
>
299
:
allSuccess
=
False
print
(
f
"
Dyndns update error:
{
s
[
0
]
}
was not reachable.
"
)
if
s
[
1
]
==
600
:
print
(
f
"
Dyndns update error:
{
s
[
0
]
}
was not reachable.
"
)
else
:
print
(
f
"
Dyndns update error:
{
s
[
0
]
}
gave HTTP code
{
s
[
1
]
}
.
"
)
else
:
allFail
=
False
if
allFail
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment