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

logInterceptorなどh5.u.createInterceptor()で作成したインターセプタを、戻り値がPromiseである関数にセットすると、CommonFailHandlerが動作しない #216

Closed
simdy opened this issue May 30, 2013 · 1 comment
Assignees
Milestone

Comments

@simdy
Copy link
Member

simdy commented May 30, 2013

戻り値のpromiseに対して直接always()でハンドラを登録しているため。
CommonFailHandlerの動作を阻害しないように修正する。

なお、preまたはpostで渡した関数の中で、
ユーザーが戻り値のpromiseに対してfail, always等を登録した場合は今まで通りCFHは動作しない。

@fukudayasuo
Copy link

上記コミットコメント中の#216は218の誤りです。本issueとは関係ありません。失礼いたしました。

fukudayasuo pushed a commit to hifive-labs/hifivemain that referenced this issue May 31, 2013
@simdy simdy closed this as completed Jun 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants