mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
Handle ReadTimeout error
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
This file is used to run the application.
|
||||
"""
|
||||
import logging
|
||||
# import sys
|
||||
|
||||
from app.api import create_api
|
||||
from app.arg_handler import HandleArgs
|
||||
@@ -13,6 +14,8 @@ from app.start_info_logger import log_startup_info
|
||||
from app.utils.filesystem import get_home_res_path
|
||||
from app.utils.threading import background
|
||||
|
||||
# sys.stderr = open("./logs.txt", "w")
|
||||
|
||||
werkzeug = logging.getLogger("werkzeug")
|
||||
werkzeug.setLevel(logging.ERROR)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user