1
0
Fork 0
mirror of synced 2024-09-06 12:51:43 +12:00

Addressed comments

This commit is contained in:
shimon 2024-02-15 16:43:58 +02:00
parent 44ead217ac
commit ad44c7a430

View file

@ -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());
}