Fixing RO Security Vulnerabilities
[osm/RO.git] / NG-RO / osm_ng_ro / __init__.py
index 2995bad..561c0f6 100644 (file)
@@ -14,6 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 ##
+import logging
 
 version = "8.0.1.post0"
 version_date = "2020-06-29"
@@ -23,5 +24,5 @@ try:
     from pkg_resources import get_distribution
 
     version = get_distribution("osm_ng_ro").version
-except Exception:
-    pass
+except Exception as error:
+    logging.exception(f"{error} occured while getting the ro version")