feeluown / FeelUOwn

trying to be a robust, user-friendly and hackable music player
http://feeluown.readthedocs.io
GNU General Public License v3.0
3.54k stars 597 forks source link

server: fix crash when any webserver dependency is not installed #877

Closed cosven closed 3 weeks ago

cosven commented 3 weeks ago

Before, when a user enables webserver and does not install sanic, the app just crashes. Now, log a error message instead. telegram-cloud-photo-size-5-6150136853269953860-y

coveralls commented 3 weeks ago

Pull Request Test Coverage Report for Build 11700931732

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
feeluown/app/server_app.py 0 5 0.0%
<!-- Total: 0 5 0.0% -->
Files with Coverage Reduction New Missed Lines %
feeluown/app/server_app.py 1 70.59%
<!-- Total: 1 -->
Totals Coverage Status
Change from base Build 11546214442: -0.009%
Covered Lines: 9983
Relevant Lines: 18028

💛 - Coveralls