1
0
Fork 0
mirror of synced 2024-10-01 01:37:56 +13:00

Console warning instead of throw so error reporting isn't triggered

This commit is contained in:
Jake Barnby 2024-01-19 14:41:53 +13:00
parent 2f786c03a2
commit 1701606593
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -134,7 +134,8 @@ class Messaging extends Action
'deliveryErrors' => ['No valid recipients found.']
]));
throw new \Exception('No valid recipients found.');
Console::warning('No valid recipients found.');
return;
}
$fallback = $dbForProject->findOne('providers', [
@ -148,7 +149,8 @@ class Messaging extends Action
'deliveryErrors' => ['No fallback provider found.']
]));
throw new \Exception('No fallback provider found.');
Console::warning('No fallback provider found.');
return;
}
/**