Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.
/ Sentry Public archive

A PocketMine-MP plugin for logging Exceptions to a Sentry server.

License

Notifications You must be signed in to change notification settings

alvin-pm-pl/Sentry

Repository files navigation

Sentry

A PocketMine-MP plugin for logging Exceptions to a Sentry server.

Asynchronous logging

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.

Getting started

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.

Example Error Log

About

A PocketMine-MP plugin for logging Exceptions to a Sentry server.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages