Skip to content

A.R.S Error Reporting

Joshua Cleland edited this page Jan 13, 2017 · 1 revision

Error Reports!

Echo usually won't report when an error has occurred with your A.R.S Rules.
Let's show you how to setup an #error-report channel for Echo A.R.S!

First step is making the channel! Name it whatever you want.
Now after the channel has been created you need to type this.

.err-report #channel-name

Now, if there are any errors in your system Echo will send the error to that channel! Want an example of a messed up rule to test?

.auto &.pmtest={init}
import "system/messages"
call::UserMessageSend(rawid, Testing the import PMS!);

The above will not work, and should post an error in the error channel you defined earlier
The message will look a little like this!

trigger: .pmtest

HTTP 400 Bad Request, {"recipient_id": ["Value "rawid" is not snowflake."]}
Which means rawid is not a proper ID. since we only typed rawid not {rawid}

Clone this wiki locally