mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 01:18:37 +00:00
Addressed comments
This commit is contained in:
parent
44ead217ac
commit
ad44c7a430
1 changed files with 2 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
|||
namespace Appwrite\Platform\Workers;
|
||||
|
||||
use Exception;
|
||||
use libphonenumber\NumberParseException;
|
||||
use Utopia\App;
|
||||
use Utopia\CLI\Console;
|
||||
use Utopia\Database\Document;
|
||||
|
|
@ -128,7 +129,7 @@ class Messaging extends Action
|
|||
->getCountryCode();
|
||||
|
||||
$queueForUsage->addMetric(str_replace('{countryCode}', $countryCode, METRIC_MESSAGES_COUNTRY_CODE), 1);
|
||||
} catch (\libphonenumber\NumberParseException $e) {
|
||||
} catch (NumberParseException $e) {
|
||||
Console::error("Error parsing number: " . $e->getMessage());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue