Skip to content

A free open source IT asset/license management system

Formatting

Marcus Moore43b9e6401c62
diff --git a/app/Listeners/CheckoutableListener.php b/app/Listeners/CheckoutableListener.php
index ec51130b1a..17a8a6c1bf 100644
--- a/app/Listeners/CheckoutableListener.php
+++ b/app/Listeners/CheckoutableListener.php
@@ -61,12 +61,10 @@ class CheckoutableListener
Notification::route('slack', Setting::getSettings()->webhook_endpoint)
->notify($this->getCheckoutNotification($event));
}
- }
- catch (ClientException $e){
- Log::debug("Exception caught during checkout notification: ".$e->getMessage());
- }
- catch (Exception $e) {
- Log::error("Exception caught during checkout notification: ".$e->getMessage());
+ } catch (ClientException $e) {
+ Log::debug("Exception caught during checkout notification: " . $e->getMessage());
+ } catch (Exception $e) {
+ Log::error("Exception caught during checkout notification: " . $e->getMessage());
}
}
@@ -114,12 +112,10 @@ class CheckoutableListener
Notification::route('slack', Setting::getSettings()->webhook_endpoint)
->notify($this->getCheckinNotification($event));
}
- }
- catch (ClientException $e){
- Log::debug("Exception caught during checkout notification: ".$e->getMessage());
- }
- catch (Exception $e) {
- Log::error("Exception caught during checkin notification: ".$e->getMessage());
+ } catch (ClientException $e) {
+ Log::debug("Exception caught during checkout notification: " . $e->getMessage());
+ } catch (Exception $e) {
+ Log::error("Exception caught during checkin notification: " . $e->getMessage());
}
}