3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-05 03:05:41 +00:00

reference endpoint appropriately"

This commit is contained in:
Godfrey M
2026-01-05 12:35:20 -08:00
parent 2a60b7b7b2
commit b935752ec0

View File

@ -297,13 +297,13 @@ trait Loggable
} catch (ConnectException $e) {
Log::warning('Teams webhook connection failed', [
'endpoint' => Setting::getSettings()->webhook_endpoint,
'endpoint' => $endpoint,
'error' => $e->getMessage(),
]);
} catch (Throwable $e) {
Log::error('Teams webhook failed unexpectedly', [
'endpoint' => Setting::getSettings()->webhook_endpoint,
'endpoint' => $endpoint,
'exception' => get_class($e),
'error' => $e->getMessage(),
]);