mirror of https://github.com/MISP/MISP
fix: [internal] Error handling for error message in AttachmentScan
parent
de6c920589
commit
7894b9e7e7
|
@ -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