BRGM / gml_application_schema_toolbox

GML Application Schema toolbox is a QGIS plugin allowing to manipulate OGC Complex Features
https://brgm.github.io/gml_application_schema_toolbox/
GNU General Public License v2.0
26 stars 17 forks source link

Catch Exception for missing StoredQueries #230

Closed frida-161 closed 2 years ago

frida-161 commented 2 years ago

This PR addresses #229. I added a try block to catch the ows ServiceExceptions that gets thrown, when a WFS does not support the ListStoredQueries method. To inform the user about the missing StoredQueries, the corresponding tab gets disabled in the UI.

codecov-commenter commented 2 years ago

Codecov Report

Merging #230 (c350aa7) into master (eb67fe7) will decrease coverage by 0.02%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #230      +/-   ##
==========================================
- Coverage   19.14%   19.12%   -0.03%     
==========================================
  Files          42       42              
  Lines        3703     3708       +5     
  Branches      610      610              
==========================================
  Hits          709      709              
- Misses       2942     2947       +5     
  Partials       52       52              
Impacted Files Coverage Δ
..._application_schema_toolbox/gui/load_wizard_wfs.py 0.00% <0.00%> (ø)
Guts commented 2 years ago

LGTM!