kartoza / geosafe

InaSAFE package for Geonode
GNU General Public License v3.0
7 stars 16 forks source link

Add try/catch guard to check Analysis task state #512

Closed lucernae closed 5 years ago

lucernae commented 5 years ago

Small try/catch guard because it seems task child may be a tuple and not a task result.

codecov[bot] commented 5 years ago

Codecov Report

Merging #512 into 2.8.x will decrease coverage by 0.11%. The diff coverage is 62.5%.

Impacted file tree graph

@@            Coverage Diff             @@
##            2.8.x     #512      +/-   ##
==========================================
- Coverage   56.46%   56.35%   -0.12%     
==========================================
  Files          47       47              
  Lines        2522     2527       +5     
  Branches      283      283              
==========================================
  Hits         1424     1424              
- Misses       1024     1029       +5     
  Partials       74       74
Impacted Files Coverage Δ
models.py 70.83% <62.5%> (-1.11%) :arrow_down:
signals.py 85.93% <0%> (-3.13%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f363bc6...82ed5ba. Read the comment docs.