Flipped events triggered when locating a visit, so that geolocation is done synchronously

This commit is contained in:
Alejandro Celaya
2021-04-07 11:35:02 +02:00
parent 0621ae7735
commit b4d137375a
2 changed files with 17 additions and 8 deletions

View File

@@ -13,6 +13,11 @@ class GeolocationDbUpdateFailedException extends RuntimeException implements Exc
{
private bool $olderDbExists;
private function __construct(string $message, int $code = 0, ?Throwable $previous = null)
{
parent::__construct($message, $code, $previous);
}
public static function withOlderDb(?Throwable $prev = null): self
{
$e = new self(