1
mirror of https://gitlab.com/jessieh/simple-shortener.git synced 2024-11-21 03:01:45 +00:00

Improve error messages

This commit is contained in:
Jessie Hildebrandt 2021-12-21 02:09:13 -05:00
parent ab0e290e54
commit faa8bf65f0
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ ORDER BY created DESC")
;; Ensure 'db/' folder exists
(when (not (fs_utils.dir_exists? "db"))
(print "🚨 ERROR: No 'db/' folder to place SQLite database files in.\n❓ Did you forget to mount a volume at '/simple-shortener/db'?")
(print "🚨 ERROR: No folder to place SQLite database files in.\n❓ Did you forget to mount a volume at '/simple-shortener/db'?")
(os.exit -1))
;; ---------------------------------- ;;

View File

@ -43,7 +43,7 @@ OR last_active <= strftime('%s', 'now', '-" config.session_max_idle_length_hours
;; Ensure 'db/' folder exists
(when (not (fs_utils.dir_exists? "db"))
(print "🚨 ERROR: No 'db/' folder to place SQLite database files in.\n❓ Did you forget to mount a volume at '/simple-shortener/db'?")
(print "🚨 ERROR: No folder to place SQLite database files in.\n❓ Did you forget to mount a volume at '/simple-shortener/db'?")
(os.exit -1))
;; ---------------------------------- ;;