Skip to content

Commit b935752

Browse files
committed
reference endpoint appropriately"
1 parent 2a60b7b commit b935752

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/Models/Traits/Loggable.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,13 +297,13 @@ public function logAudit($note, $location_id, $filename = null, $originalValues
297297

298298
} catch (ConnectException $e) {
299299
Log::warning('Teams webhook connection failed', [
300-
'endpoint' => Setting::getSettings()->webhook_endpoint,
300+
'endpoint' => $endpoint,
301301
'error' => $e->getMessage(),
302302
]);
303303

304304
} catch (Throwable $e) {
305305
Log::error('Teams webhook failed unexpectedly', [
306-
'endpoint' => Setting::getSettings()->webhook_endpoint,
306+
'endpoint' => $endpoint,
307307
'exception' => get_class($e),
308308
'error' => $e->getMessage(),
309309
]);

0 commit comments

Comments
 (0)