Skip to content

Commit

Permalink
fix(trace): Re-add transitionStart trace
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherthielen committed Mar 12, 2017
1 parent 612d2e1 commit b019036
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/transition/transition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,7 @@ export class Transition implements IHookRegistry {

services.$q.when()
.then(() => chainFor(TransitionHookPhase.BEFORE))
.then(() => trace.traceTransitionStart(this))
// This waits to build the RUN hook chain until after the "BEFORE" hooks complete
// This allows a BEFORE hook to dynamically add RUN hooks via the Transition object.
.then(() => chainFor(TransitionHookPhase.RUN))
Expand Down

0 comments on commit b019036

Please sign in to comment.