How to generate an alert

10-22-2009, 08:40 AM

I want to generate an alert from within a channel destination so that I can use the alert functionality to email out, rather than make my own emailing mechanism. I can get it to work fine by using throw in a javascript destination, but then the message in the alert contains a bunch of strack trace information. The email is going out to non technical users and they just get confused with all that extraneous information. Is there a way to generate the alert without including all that data?

As an example, all I want is the alert to say "Error adding child 'abc' to parent 'xyz'" but what actually happens is the error message looks like this:

We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.

By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.