tags:

views:

33

answers:

3

As I'm rolling out my Flex app to Beta I realized that I need to know about any exception that happens in Flex Side. But as it runs on users machines I don't get to see them.

Is there a way to make Flex send email every time an exception happens?

+1  A: 

It looks possible with the help of some action script library:

Sending Error Reports via Email from Flash, Flex, Air

mdonovan2010
seems fine but I wasnt sure how to capture the log from the exception. So I want any exception to be emailed instead of me catching the exception is that possibl
Tam
if they aren't using a debug player, there won't be any stack to your exception. Other than that, look at the global exception handler
Gregor Kiddie
This looks interesting: http://www.rialvalue.com/blog/2010/05/13/global-exception-or-error-handling-in-flex/ ... makes things a little more cleaner.
mdonovan2010
A: 

We had this problem in an internal Flex application.

Instead of automatically sending the email, we created a pop-up that contained a mailto link. The link contained a email body that had the error included.

This may not work for you, but allows your users to choose if they submit the error to you or not, which can help prevent privacy issues.

This approach also allows you to communicate with your user and get more details or let them know when the problem is fixed.

Alan Geleynse