Improve error handling for settings. Instead of failing with an exception, an alert is displayed on the main page when something isn't set properly.

This commit is contained in:
2018-11-09 13:40:48 +02:00
parent f3814ec281
commit 0a2d62b001
7 changed files with 112 additions and 31 deletions

View File

@ -4,7 +4,7 @@
; The global section contains settings that apply to the entire server
[global]
Debug=${env:YTSM_DEBUG}
;Debug=False
; This is the folder where thumbnails will be downloaded. By default project_root/data/media is used.
;MediaRoot=
@ -42,7 +42,7 @@ Debug=${env:YTSM_DEBUG}
; Number of threads running the scheduler
; Since most of the jobs scheduled are downloads, there is no advantage to having
; a higher concurrency
;SchedulerConcurrency=1
SchedulerConcurrency=a1a
; Default user settings
[user]