Skip to content

A free open source IT asset/license management system

changed log from warning to error

Godfrey M152c23b8f357
diff --git a/app/Listeners/CheckoutableListener.php b/app/Listeners/CheckoutableListener.php
index 461a3162f2..e97894411a 100644
--- a/app/Listeners/CheckoutableListener.php
+++ b/app/Listeners/CheckoutableListener.php
@@ -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:', [