sentry stuff
This commit is contained in:
parent
761cb38e3b
commit
7ed859d8e5
1 changed files with 2 additions and 2 deletions
|
@ -123,7 +123,7 @@ client.eventLoader.loadEventModules();
|
|||
client.createEventListeners();
|
||||
|
||||
// Development mode is set in botconfig.yml, and disables some stuff if enabled. Imagine how messy Sentry would be without this!
|
||||
if (client.config.devmode === true) {
|
||||
if (client.config.developmentMode === false) {
|
||||
try {
|
||||
sentry.init({ dsn: client.config.keys.sentry });
|
||||
} catch (err) {
|
||||
|
|
Loading…
Reference in a new issue