fix(exceptions): NoAnnotationError message is not displayed

Closes #4215

Closes #4223
This commit is contained in:
vsavkin
2015-09-17 00:58:55 +00:00
committed by Victor Savkin
parent 626e1cda5f
commit eaa20f661a
2 changed files with 12 additions and 30 deletions
@@ -6,7 +6,7 @@ export {ExceptionHandler} from './exception_handler';
export class BaseException extends Error {
public stack: any;
constructor(public message?: string) {
constructor(public message: string = "--") {
super(message);
this.stack = (<any>new Error(message)).stack;
}