Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin-telecom
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
Paul Graydon
wendelin-telecom
Commits
51e8150e
Commit
51e8150e
authored
Jan 20, 2025
by
Paul Graydon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wendelin_telecom_base: Fix exception message capturing
parent
0e089a04
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
bt5/wendelin_telecom_base/ExtensionTemplateItem/portal_components/extension.erp5.WendelinTelecomCalcEnbKpi.py
...al_components/extension.erp5.WendelinTelecomCalcEnbKpi.py
+4
-4
No files found.
bt5/wendelin_telecom_base/ExtensionTemplateItem/portal_components/extension.erp5.WendelinTelecomCalcEnbKpi.py
View file @
51e8150e
...
...
@@ -12,11 +12,11 @@ def load_measurements(alogm):
mlog
.
append
(
measurement
)
except
Exception
as
e
:
# Invalid measurement: simply skip it
LOG
(
'WendelinTelecomCalcOrsKpi.loadMeasurements'
,
WARNING
,
"Skipped data during KPI calculation: %s"
%
e
)
LOG
(
'WendelinTelecomCalcOrsKpi.loadMeasurements'
,
WARNING
,
"Skipped data during KPI calculation: %s"
%
str
(
e
)
)
measurement
=
alogm
.
read
()
except
amari_kpi
.
LogError
as
e
:
# Invalid measurement: simply skip it
LOG
(
'WendelinTelecomCalcOrsKpi.loadMeasurements'
,
WARNING
,
"Skipped data during KPI calculation: %s"
%
e
)
LOG
(
'WendelinTelecomCalcOrsKpi.loadMeasurements'
,
WARNING
,
"Skipped data during KPI calculation: %s"
%
str
(
e
)
)
finally
:
alogm
.
close
()
return
mlog
...
...
@@ -48,7 +48,7 @@ def calcEnbKpi(data, t_period):
try
:
erab_accessibility
=
calc
.
erab_accessibility
()
except
AssertionError
as
e
:
LOG
(
'WendelinTelecomCalcOrsKpi.calcEnbKpi'
,
WARNING
,
"Skipped data during KPI calculation: %s"
%
e
)
LOG
(
'WendelinTelecomCalcOrsKpi.calcEnbKpi'
,
WARNING
,
"Skipped data during KPI calculation: %s"
%
str
(
e
)
)
continue
vt
.
append
(
calc
.
tau_lo
)
v_initial_epsb_estab_sr
.
append
((
erab_accessibility
[
0
][
'lo'
],
erab_accessibility
[
0
][
'hi'
]))
...
...
@@ -62,7 +62,7 @@ def calcEnbKpi(data, t_period):
try
:
eutran_ip_throughput
=
calc
.
eutran_ip_throughput
()
except
AssertionError
as
e
:
LOG
(
'WendelinTelecomCalcOrsKpi.calcEnbKpi'
,
WARNING
,
"Skipped data during KPI calculation: %s"
%
e
)
LOG
(
'WendelinTelecomCalcOrsKpi.calcEnbKpi'
,
WARNING
,
"Skipped data during KPI calculation: %s"
%
str
(
e
)
)
continue
period_qci_data
=
[]
for
qci_measurement
in
eutran_ip_throughput
:
...
...
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