mirror of https://github.com/MISP/MISP
fixes bug when alerting and a single gpg key is giving problems
parent
02aff8a8db
commit
8b6c212bf4
|
@ -665,7 +665,7 @@ class EventsController extends AppController {
|
|||
} catch (Exception $e){
|
||||
// catch errors like expired PGP keys
|
||||
$this->log($e->getMessage());
|
||||
return $e->getMessage();
|
||||
// no need to return here, as we want to send out mails to the other users if GPG encryption fails for a single user
|
||||
}
|
||||
// If you wish to send multiple emails using a loop, you'll need
|
||||
// to reset the email fields using the reset method of the Email component.
|
||||
|
@ -816,6 +816,7 @@ class EventsController extends AppController {
|
|||
} catch (Exception $e){
|
||||
// catch errors like expired PGP keys
|
||||
$this->log($e->getMessage());
|
||||
// no need to return here, as we want to send out mails to the other users if GPG encryption fails for a single user
|
||||
}
|
||||
} else {
|
||||
$bodyEncSig = $bodySigned;
|
||||
|
|
Loading…
Reference in New Issue