Skip to content

Commit

Permalink
Merge pull request #9631 from JakubOnderka/attachment-scan-error
Browse files Browse the repository at this point in the history
fix: [internal] Error handling for error message in AttachmentScan
  • Loading branch information
JakubOnderka committed Mar 21, 2024
2 parents 544a450 + 7894b9e commit 9fb1939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Model/AttachmentScan.php
Expand Up @@ -258,7 +258,7 @@ public function scan($type, $attributeId = null, $jobId = null)
$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++;
}

Expand Down

0 comments on commit 9fb1939

Please sign in to comment.