feedback fixes;  Where some plugins are not behaving well, then they must not prevent the service shutting down, however Ingest code has nothing to do with hardware integration and it must be in fine control of us
@@ -186,8 +186,9 @@ class Server(FoglampMicroservice):
try:
self._plugin.plugin_shutdown(self._plugin_handle)
except Exception as ex:
- _LOGGER.exception("Unable to stop plugin '{}'".format(self._name))
- raise ex
+ _LOGGER.exception("Unable to stop plugin '%s' | reason: %s", self._name, str(ex))
+ # must not prevent FogLAMP shutting down cleanly via the API call.
+ # raise ex
finally:
self._plugin = None
self._plugin_handle = None
