Skip to content

Commit

Permalink
Close log on exit, Release v2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
JaxkDev committed Sep 3, 2021
1 parent 6c5d226 commit 49a06c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/JaxkDev/DiscordBot/Bot/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ public function close($error = null): void{ /** @phpstan-ignore-line */
}
}
$this->logger->debug("Client closed.");
$this->logger->close();
exit(0);
}
}

0 comments on commit 49a06c6

Please sign in to comment.