ChristianLutzCL / ChristianLutzCL/ServerMonitor

Application on index page will not load, if something in 'site.db' is wrong

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
bug good first issue wontfix
Dominant language
CSS
Stars
62
Forks
13
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
After setup or if you create a new database file (site.db), the application won't work.

**To Reproduce**
Steps to reproduce the behavior:
1. Setup project or regenerate site.db file
2. Run application
3. Open website and see the error

**Expected behavior**
Index page should display without any checked websites

**Additional context**
The solution to this problem is already known.
The main route queries trough the database without checking if there is something in the database.
A simple check for the case of an empty table would solve this problem.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.