Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add missing stacktraces in error logs during app installations (#13680)

Mikail371c17280ea2
diff --git a/saleor/app/tasks.py b/saleor/app/tasks.py
index 925aa15b1b..c47d6361ad 100644
--- a/saleor/app/tasks.py
+++ b/saleor/app/tasks.py
@@ -42,7 +42,7 @@ def install_app_task(job_id, activate=False):
"Failed to connect to app. Try later or contact with app support."
)
except Exception as e:
- logger.warning("Failed to install app. Error: %s", e)
+ logger.error("Failed to install app. Error: %s", e, exc_info=e)
app_installation.message = "Unknown error. Contact with app support."
app_installation.status = JobStatus.FAILED
app_installation.save(update_fields=["message", "status"])