changed log from warning to error

This commit is contained in:
Godfrey M 2025-01-09 12:55:25 -08:00
parent b635822a85
commit 152c23b8f3

View file

@ -106,7 +106,7 @@ class CheckoutableListener
}
}
} catch (ClientException $e) {
Log::warning("ClientException caught during checkin notification: " . $e->getMessage());
Log::error("ClientException caught during checkin notification: " . $e->getMessage());
return redirect()->back()->with('error', ucfirst(Setting::getSettings()->webhook_selected) . ' webhook notification failed: Check to make sure your URL is still valid.');
} catch (Exception $e) {
Log::error(ucfirst(Setting::getSettings()->webhook_selected) . ' webhook notification failed:', [
@ -196,7 +196,7 @@ class CheckoutableListener
}
}
} catch (ClientException $e) {
Log::warning("ClientException caught during checkin notification: " . $e->getMessage());
Log::error("ClientException caught during checkin notification: " . $e->getMessage());
return redirect()->back()->with('error', ucfirst(Setting::getSettings()->webhook_selected) .' webhook notification failed: Check to make sure the URL is still valid.');
} catch (Exception $e) {
Log::error(ucfirst(Setting::getSettings()->webhook_selected) . ' webhook notification failed:', [