A PocketMine-MP plugin for logging Exceptions to a Sentry server.
If you want to log exceptions in a thread-safe way, you can use the thread branch.
I am sure if plugin developers don't abuse MainLogger::logException()
it won't be matter.
but if you don't trust them you can use thread branch anyway.
Before you use this plugin, You'll need to create your project on Sentry and get your DSN.
After creating new project, Fill the sentry-dsn
field in config.yml with your DSN URL.
# Sentry Main configuration file
# Configurations in this file may not appear automatically upon update, and some settings may crash the server.
# Sentry DSN link which is used to send errors to Sentry.
# You will get the DSN link when you create a new project in Sentry.
# Example: https://<your_sentry_domain>/<your_project_id>/
sentry-dsn: "<your sentry dsn link>"
# Other options that will be passed to Sentry client.
# Example:
# sentry-options:
# environment: production
# release: 1.0.0
sentry-options: []
Done! That's it!
Now stay calm and enjoy the server.
It is important that You should create the project as PHP to use this plugin.