s-kostyuk / everpl

The Everthing Platfrom source code
https://everpl.readthedocs.io/
MIT License
0 stars 1 forks source link

Graceful degradation for local_announce module #96

Closed s-kostyuk closed 6 years ago

s-kostyuk commented 6 years ago

This pull request changes the logic of initialization for local_announce module of the system and local announcement API itself.

From now the local_announce module will not be imported until it'll become explicitly needed to satisfy user requirements (i.e. until it will be explicitly enabled in everpl configuration file). If the module will be enabled by user but will not be able to be imported, the user will receive an error message and the whole platform will crash with exception.

Closes #94