mirror of https://github.com/MISP/MISP
Merge pull request #9631 from JakubOnderka/attachment-scan-error
fix: [internal] Error handling for error message in AttachmentScanpull/9634/head
commit
9fb1939b70
|
@ -258,7 +258,7 @@ class AttachmentScan extends AppModel
|
||||||
$scanned++;
|
$scanned++;
|
||||||
}
|
}
|
||||||
} catch (Exception $e) {
|
} 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++;
|
$fails++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue