Skip to content
This repository has been archived by the owner on Jul 3, 2019. It is now read-only.

Add meaningful trace to createDummyInstance error handling #30

Closed
Reider opened this issue Jun 20, 2010 · 1 comment
Closed

Add meaningful trace to createDummyInstance error handling #30

Reider opened this issue Jun 20, 2010 · 1 comment

Comments

@Reider
Copy link

Reider commented Jun 20, 2010

Please add some more trace info in ConstructorInjectionPoint::createDummyInstance.
Currently there is only a trace(error); so when I ran into a null pointer error because of the dummy instance creation flash player bugfix I had to spend a lot time to track down where the error trace was coming from.

Instead of:
catch (error : Error)
{
trace(error);
}

Use something like:

catch (error : Error)
{
trace("Error when creating dummy instance of class " ,clazz, error);
}

Or don't write anything. This could save someone a lot of trouble.

@tschneidereit
Copy link
Owner

Add meaningful trace to createDummyInstance error handling

Closed by f30555d

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants