Skip to content

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

@simdy

Description

@simdy

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

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions