diff --git a/modules/angular2/src/common/pipes/invalid_pipe_argument_exception.ts b/modules/angular2/src/common/pipes/invalid_pipe_argument_exception.ts index 9e414607bd..b3a8311f90 100644 --- a/modules/angular2/src/common/pipes/invalid_pipe_argument_exception.ts +++ b/modules/angular2/src/common/pipes/invalid_pipe_argument_exception.ts @@ -1,8 +1,8 @@ -import {CONST, Type} from 'angular2/src/facade/lang'; +import {CONST, Type, stringify} from 'angular2/src/facade/lang'; import {BaseException, WrappedException} from 'angular2/src/facade/exceptions'; export class InvalidPipeArgumentException extends BaseException { constructor(type: Type, value: Object) { - super(`Invalid argument '${value}' for pipe '${type}'`); + super(`Invalid argument '${value}' for pipe '${stringify(type)}'`); } }