hyperjumptech / monika

Monika is a command line application to monitor every part of your web app using a simple YAML configuration file. Get alert not only when your site is down but also when it's slow.
https://monika.hyperjump.tech
MIT License
605 stars 67 forks source link

Notification crashes, if linux distribution is not recognized by getos #1322

Open creffect opened 5 days ago

creffect commented 5 days ago

Describe the bug My hoster has a dockerized linux system, which is not recognized by "getos".

I get the error "No unique release file found!" and monika crashes, when a notification should be sent.

The error occurs in the file

hyperjumptech/monika/lib/components/notification/alert-message.js

using the function "getLinuxDistro"

Could you please catch the error and ignore the distribution, if it occures? Thank you.