mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
Sentry Console::error
This commit is contained in:
parent
142782825d
commit
66c5f959c0
1 changed files with 2 additions and 0 deletions
|
|
@ -355,6 +355,8 @@ class Migrations extends Action
|
|||
$migration->setAttribute('status', 'failed');
|
||||
$migration->setAttribute('stage', 'finished');
|
||||
|
||||
Console::error('Sentry error: '.$th->getMessage());
|
||||
|
||||
call_user_func($this->logError, $th, 'appwrite-worker', 'appwrite-queue-'.self::getName(), [
|
||||
'migrationId' => $migration->getId(),
|
||||
'source' => $migration->getAttribute('source') ?? '',
|
||||
|
|
|
|||
Loading…
Reference in a new issue