issues
search
szabodanika
/
microbin
A secure, configurable file-sharing and URL shortening web app written in Rust.
https://microbin.eu
BSD 3-Clause "New" or "Revised" License
2.51k
stars
151
forks
source link
Refactored db_sqlite.rs and the usage.
#231
Open
javerik
opened
8 months ago
javerik
commented
8 months ago
Issue
Creation of database was only done on request.
Crash when database queries would not be successful
Changes
Database gets created on startup
Moved creation and recreation to own function to prevent duplicates of create sql query
Error handling of database queries in terms of logging and HTTP error
Issue
Changes