You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-27 14:13:55 +01:00
traceback
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user