Formatting

This commit is contained in:
Marcus Moore 2023-10-10 15:18:55 -07:00
parent dae9e6d096
commit 43b9e6401c

View file

@ -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());
}
}