Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tango
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira issues
Open Jira
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
tango
Commits
f8118b52
Commit
f8118b52
authored
Sep 23, 2021
by
Jan David Mol
Browse files
Options
Downloads
Plain Diff
Merge branch '
L2SS-388
-disconnect-statisticsclient' into 'master'
L2SS-388
: Prevent calling undefined logger.log_exception Closes
L2SS-388
See merge request
!131
parents
45c5a89e
780e3482
No related branches found
No related tags found
1 merge request
!131
L2SS-388: Prevent calling undefined logger.log_exception
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
devices/clients/statistics_client.py
+2
-4
2 additions, 4 deletions
devices/clients/statistics_client.py
with
2 additions
and
4 deletions
devices/clients/statistics_client.py
+
2
−
4
View file @
f8118b52
...
@@ -73,14 +73,12 @@ class StatisticsClient(CommClient):
...
@@ -73,14 +73,12 @@ class StatisticsClient(CommClient):
try
:
try
:
self
.
statistics
.
disconnect
()
self
.
statistics
.
disconnect
()
except
Exception
:
except
Exception
:
# nothing we can do, but we should continue cleaning up
logger
.
exception
(
"
Could not disconnect statistics processing class
"
)
logger
.
log_exception
(
"
Could not disconnect statistics processing class
"
)
try
:
try
:
self
.
udp
.
disconnect
()
self
.
udp
.
disconnect
()
except
Exception
:
except
Exception
:
# nothing we can do, but we should continue cleaning up
logger
.
exception
(
"
Could not disconnect UDP receiver class
"
)
logger
.
log_exception
(
"
Could not disconnect UDP receiver class
"
)
del
self
.
udp
del
self
.
udp
del
self
.
statistics
del
self
.
statistics
...
...
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