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

cxy_fount behaviour requires init/1 but is called as init/* #74

Open
KoFish opened this issue Oct 22, 2016 · 2 comments
Open

cxy_fount behaviour requires init/1 but is called as init/* #74

KoFish opened this issue Oct 22, 2016 · 2 comments

Comments

@KoFish
Copy link

KoFish commented Oct 22, 2016

The fount behaviour requires init to be declared taking one argument. But in cxy_fount when the init callback is called it is called with the "init args" as arguments. Rather than, what I suspect was intended; a list where the first element is the "Mod_Init_Args" variable (in version 1.1.0 cxy_fount.erl:422).

@KoFish
Copy link
Author

KoFish commented Oct 22, 2016

Not really an issue but something that bothered me: Any error from this call to apply is returned without context (stacktrace) and then just passed along as the behaviour state rather than causing the init to fail.

@jaynel
Copy link
Member

jaynel commented Oct 22, 2016

This needs to be fixed so that the integrator can diagnose errors properly. Keeping it open until fixed.

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

No branches or pull requests

2 participants