0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-27 06:03:52 +01:00

traceback

This commit is contained in:
KubaPro010
2025-11-08 21:18:51 +01:00
parent 3117d17c65
commit c6c296c17d

View File

@@ -2,7 +2,7 @@
import time import time
import os, subprocess, importlib.util, types import os, subprocess, importlib.util, types
import sys, signal, threading, glob import sys, signal, threading, glob
import libcache import libcache, traceback
from modules import * from modules import *
def prefetch(path): def prefetch(path):
@@ -249,6 +249,7 @@ def main():
if not spec.loader: continue if not spec.loader: continue
try: spec.loader.exec_module(module) try: spec.loader.exec_module(module)
except Exception as e: except Exception as e:
traceback.print_exc()
logger.error(f"Failed loading {module_name} due to {e}") logger.error(f"Failed loading {module_name} due to {e}")
continue continue