fix: [internal] Error handling for error message in AttachmentScan

pull/9631/head
Jakub Onderka 2024-03-21 14:34:17 +01:00
parent de6c920589
commit 7894b9e7e7
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ class AttachmentScan extends AppModel
$scanned++;
}
} catch (Exception $e) {
$this->logException("Could not scan attachment for $type {$attribute['Attribute']['id']}", $e, LOG_WARNING);
$this->logException("Could not scan attachment for $type {$attribute[$type]['id']}", $e, LOG_WARNING);
$fails++;
}