mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
Don't include the whole stack trace for an integrity error
This commit is contained in:
parent
9ae828cf11
commit
0c8c565ab0
1 changed files with 1 additions and 1 deletions
|
@ -460,7 +460,7 @@ class ProcessLockAdapters:
|
|||
func(**kwargs)
|
||||
success = True
|
||||
except IntegrityError as e:
|
||||
logger.error(f"⚠️ Unable to create the process lock for {func} with {operation}: {e}", exc_info=True)
|
||||
logger.error(f"⚠️ Unable to create the process lock for {func} with {operation}: {e}")
|
||||
success = False
|
||||
except Exception as e:
|
||||
logger.error(f"🚨 Error executing {func} with {operation} process lock: {e}", exc_info=True)
|
||||
|
|
Loading…
Add table
Reference in a new issue