Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
silkaj
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
silkaj
Merge requests
!196
#390
: send_document(): Exit the program in case an HTTPError exception is raised
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
#390
: send_document(): Exit the program in case an HTTPError exception is raised
390_send_doc_exit_code
into
dev
Overview
0
Commits
2
Pipelines
4
Changes
2
Merged
Moul
requested to merge
390_send_doc_exit_code
into
dev
3 years ago
Overview
0
Commits
2
Pipelines
4
Changes
2
Expand
Revert change on
membership
test
0
0
Merge request reports
Compare
dev
version 1
3bed85e9
3 years ago
dev (base)
and
latest version
latest version
cdfccba3
2 commits,
3 years ago
version 1
3bed85e9
2 commits,
3 years ago
2 files
+
9
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
silkaj/network_tools.py
+
1
−
1
Options
@@ -90,4 +90,4 @@ def send_document(bma_path, document):
client
(
bma_path
,
document
.
signed_raw
())
print
(
f
"
{
doc_name
}
successfully sent
"
)
except
urllib
.
error
.
HTTPError
as
e
:
prin
t
(
f
"
Error while publishing
{
doc_name
.
lower
()
}
:
{
e
}
"
)
sys
.
exi
t
(
f
"
Error while publishing
{
doc_name
.
lower
()
}
:
{
e
}
"
)
Loading