fix(exceptions): NoAnnotationError message is not displayed
Closes #4215 Closes #4223
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user