Title: Global Error Handling with Pipes Post by: Elo on August 10, 2012, 07:01:30 Hi,
i use the multicore version of Pure MVC with Pipes. I have a shell which loads all Cores (single swfs) and now i want to implement the global exception handling for logging. In one Module i created a GlobalExceptionMediator. There i add the Event Listener view.loaderInfo.uncaughtErrorEvents.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, onError); where view is the Main class from the shell. My Problem is that errors for example in a Proxy (because of no relation to any view) do not fire the event. Does anybody know a solution for the problem? Best, Marc Title: Re: Global Error Handling with Pipes Post by: puremvc on August 12, 2012, 04:14:06 I think you may need to add this listener in the Shell/application and respond by
-=Cliff> Title: Re: Global Error Handling with Pipes Post by: Elo on August 13, 2012, 02:50:20 Hello Cliff,
thanks for the answer. It works now. In the Shell i add the listener to each loader which loads a module. When the event is fired i just send a message over the pipe. Best, Marc |