Add_Git_Notification #23

Merged
neintonine merged 13 commits from Add_Git_Notification into develop 2024-11-12 19:05:06 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 6c9c51d66d - Show all commits

View file

@ -38,8 +38,6 @@ final class DiscordAPI
$curl->post(self::OAUTH_TOKEN_URL, $data);
if ($curl->error) {
$curl->diagnose();
throw new ExtendedException($curl->errorMessage, [ 'response' => $curl->response, 'data' => $data ]);
}

View file

@ -21,6 +21,8 @@ final class CrashHandler
) { }
public function register() : void {
error_reporting(0);
$handler = $this->getHandler();
$this->container->addShared(HandlerInterface::class, $handler);