Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include throwable message in BeanInstanceCreationException #124

Closed
wants to merge 3 commits into from

Conversation

caleb-allen
Copy link

Include throwable message from cause in BeanInstanceCreationException.

The use case for this is to prevent loss of information when System.err is not available, for example for crash logging libraries like Crashlytics.

Somewhat related to #74

@arnaudgiuliani
Copy link
Member

Hello,

can you rebase your 3 commits into just 1?
Thanks.

@arnaudgiuliani arnaudgiuliani added the status:accepted accepted to be developed label May 11, 2018
@arnaudgiuliani arnaudgiuliani changed the base branch from master to 1.0.0 May 17, 2018 06:05
@arnaudgiuliani arnaudgiuliani added status:blocked and removed status:accepted accepted to be developed labels May 17, 2018
@arnaudgiuliani
Copy link
Member

@caleb-allen Your PR need some rework.

Thanks

@arnaudgiuliani arnaudgiuliani moved this from Bug to Analysis in Koin Dev Board May 17, 2018
@caleb-allen
Copy link
Author

I'll take a look.

I'm not sure that this is actually the best solution, any logs that come out of this is formatted as a standard string when really there should be a relationship between the thrown exception and the BeanInstanceCreationException. Thoughts?

@arnaudgiuliani arnaudgiuliani moved this from Analyzing to Done in Koin Dev Board May 28, 2018
@arnaudgiuliani
Copy link
Member

Well, I've patched the 1.0.0 with your idea.
b4975df

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants