Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
proto3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Lars Frost
proto3
Commits
18876c0e
Commit
18876c0e
authored
3 years ago
by
Magnus Giesbert
Browse files
Options
Downloads
Patches
Plain Diff
Resolve "Fehler in "Pushing to Wiki" kann Passwort enthalten"
parent
e52da0cb
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks.py
+6
-0
6 additions, 0 deletions
tasks.py
with
6 additions
and
0 deletions
tasks.py
+
6
−
0
View file @
18876c0e
...
@@ -645,6 +645,12 @@ def push_to_dokuwiki_async(protocol_id, content, summary):
...
@@ -645,6 +645,12 @@ def push_to_dokuwiki_async(protocol_id, content, summary):
return
_make_error
(
return
_make_error
(
protocol
,
"
Pushing to Wiki
"
,
protocol
,
"
Pushing to Wiki
"
,
"
Pushing to Wiki failed.
"
""
)
"
Pushing to Wiki failed.
"
""
)
except
xmlrpc
.
client
.
ProtocolError
as
prot_err
:
# makes sure the WIKI_API_URL does not get leaked
error_msg
=
"
A ProtocolError occurred with code:
'
{}
'
; and Message:
'
{}
'"
.
format
(
prot_err
.
errcode
,
prot_err
.
errmsg
)
return
_make_error
(
protocol
,
"
Pushing to Wiki
"
,
"
XML RPC ProtocolError
"
,
error_msg
)
except
xmlrpc
.
client
.
Error
as
exception
:
except
xmlrpc
.
client
.
Error
as
exception
:
return
_make_error
(
return
_make_error
(
protocol
,
"
Pushing to Wiki
"
,
"
XML RPC Exception
"
,
protocol
,
"
Pushing to Wiki
"
,
"
XML RPC Exception
"
,
...
...
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