From 91a3ee0c9d448ea07f16718cbe1b205bfc05cee5 Mon Sep 17 00:00:00 2001 From: fogelito Date: Tue, 16 Dec 2025 09:24:47 +0200 Subject: [PATCH] Add File info --- src/Appwrite/Platform/Workers/Migrations.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Appwrite/Platform/Workers/Migrations.php b/src/Appwrite/Platform/Workers/Migrations.php index ebcd199ff6..779831c7d6 100644 --- a/src/Appwrite/Platform/Workers/Migrations.php +++ b/src/Appwrite/Platform/Workers/Migrations.php @@ -372,7 +372,9 @@ class Migrations extends Action $migration->setAttribute('status', 'completed'); $migration->setAttribute('stage', 'finished'); } catch (\Throwable $th) { - Console::error($th->getMessage()); + Console::error('Message: ' . $th->getMessage()); + Console::error('File: ' . $th->getFile()); + Console::error('Line: ' . $th->getLine()); Console::error($th->getTraceAsString()); if (! $migration->isEmpty()) {