mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-19 20:37:51 +00:00
added tracing of error
This commit is contained in:
parent
c1bd8edc8d
commit
fb834e1dff
@ -18,7 +18,7 @@ from lollms.types import MSG_TYPE
|
||||
from lollms.personality import AIPersonality, PersonalityBuilder
|
||||
from lollms.binding import LOLLMSConfig, BindingBuilder, LLMBinding, ModelBuilder
|
||||
from lollms.paths import LollmsPaths
|
||||
from lollms.helpers import ASCIIColors
|
||||
from lollms.helpers import ASCIIColors, trace_exception
|
||||
from lollms.app import LollmsApplication
|
||||
import multiprocessing as mp
|
||||
import threading
|
||||
@ -466,8 +466,9 @@ class LoLLMsAPPI(LollmsApplication):
|
||||
run_scripts=True,
|
||||
installation_option=InstallOption.FORCE_INSTALL)
|
||||
mounted_personalities.append(personality)
|
||||
except:
|
||||
except Exception as ex:
|
||||
ASCIIColors.error(f"Couldn't load personality at {personality_path}")
|
||||
trace_exception(ex)
|
||||
ASCIIColors.info(f"Unmounting personality")
|
||||
to_remove.append(i)
|
||||
personality = AIPersonality(None, self.lollms_paths,
|
||||
|
Loading…
Reference in New Issue
Block a user