1
0
Fork 0

Use "Exception"

This commit is contained in:
Michael 2023-02-26 22:43:45 +00:00
commit 6e3602591d
20 changed files with 41 additions and 41 deletions

View file

@ -2228,8 +2228,8 @@ class Contact
return;
}
}
} catch (\Throwable $th) {
Logger::notice('Error fetching avatar', ['avatar' => $avatar, 'error' => $th]);
} catch (\Exception $exception) {
Logger::notice('Error fetching avatar', ['avatar' => $avatar, 'exception' => $exception]);
return;
}
} elseif (!empty($contact['blurhash'])) {