refactor(lint): Don't allow console.log
Enable tslint check for `console.log` as a follow-up to https://github.com/angular/angular/issues/13018
This commit is contained in:
@ -15,7 +15,7 @@ export function stringify(obj: any): string {
|
||||
|
||||
export function onError(e: any) {
|
||||
// TODO: (misko): We seem to not have a stack trace here!
|
||||
console.log(e, e.stack);
|
||||
console.error(e, e.stack);
|
||||
throw e;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user