Skip to content

Commit

Permalink
fix(trace): make TRANSITION trace less noisy when a transition is red…
Browse files Browse the repository at this point in the history
…irected
  • Loading branch information
christopherthielen committed Jul 13, 2016
1 parent a7b7b77 commit a65c58f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/state/targetState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {ParamsOrArray} from "../params/interface";
import {TransitionOptions} from "../transition/interface";

import {State} from "./stateObject";
import {toJson} from "../common/common";

/**
* @ngdoc object
Expand Down Expand Up @@ -75,4 +76,8 @@ export class TargetState {
if (!this._definition.self)
return `State '${this.name()}' has an invalid definition`;
}

toString() {
return `'${this.name()}'${toJson(this.params())}`;
}
}

0 comments on commit a65c58f

Please sign in to comment.