dizag / as3-commons

Automatically exported from code.google.com/p/as3-commons
1 stars 0 forks source link

Bad Exception handling in xmlToTarget() #98

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
To reproduce the problem:
1. Write a "Log Target" throwing an exception in its constructor
2. Try to setup it by a xml config(use xmlToSetup())

Appropriate Warning does not appear. The reason is a wrong exception handling 
in xmlToTarget()

I am using as3commons-logging-2.6.swc

I have attached patch fixing the problem.

Original issue reported on code.google.com by RakovI...@gmail.com on 3 Oct 2011 at 7:59

Attachments:

GoogleCodeExporter commented 9 years ago
I changed this particular code in the last commit. I am still not sure if I 
will stick with this setup before the release.
Anyway: It would change the notification process.

http://code.google.com/p/as3-commons/source/detail?r=1404

Can you try out the trunk to see whether this suits better?

Original comment by martin.h...@gmail.com on 3 Oct 2011 at 12:41

GoogleCodeExporter commented 9 years ago

Original comment by martin.h...@gmail.com on 12 Oct 2011 at 9:03