Alignak-monitoring / alignak

Monitoring tool, highly flexible and new standard oriented
https://alignak-monitoring.github.io
GNU Affero General Public License v3.0
86 stars 19 forks source link

Unhandled exception in poller #1119

Closed rednach closed 4 years ago

rednach commented 4 years ago

Symptom:

root@hqs4:/var/log/alignak# grep -C10 Error poller-master.log ... Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/alignak/satellite.py", line 972, in do_loop_turn self.manage_action_return(msg.get_data()) File "/usr/local/lib/python3.6/dist-packages/alignak/satellite.py", line 502, in manage_action_return scheduler_uuid, action.uuid, str(exp)) UnboundLocalError: local variable 'exp' referenced before assignment ...

It seems to be just a typo...

codecov[bot] commented 4 years ago

Codecov Report

Merging #1119 into develop will decrease coverage by 0.3%. The diff coverage is 87.3%.

@@            Coverage Diff            @@
##           develop   #1119     +/-   ##
=========================================
- Coverage     85.4%   85.1%   -0.4%     
=========================================
  Files          102     102             
  Lines        17592   17601      +9     
=========================================
- Hits         15033   14986     -47     
- Misses        2559    2615     +56
mohierf commented 4 years ago

Hi @rednach If I merge this PR, I am afraid that I will get 6 more duplicated commits in the develop branch :/ Perharps you should rebase your develop branch on the current develop bedore making a PR. I close this PR and I will fix the typo in the develop branch of the Alignak repo

Thanks for the fix 👍