Fix logging in util/deprecated.ts
This commit is contained in:
parent
5da5ffe504
commit
20ea409d9e
1 changed files with 1 additions and 1 deletions
|
@ -6,6 +6,6 @@ import * as log from '../logging/log';
|
|||
|
||||
export function deprecated(message?: string): void {
|
||||
if (getEnvironment() === Environment.Development) {
|
||||
log.error(new Error(`This method is deprecated: ${message}`));
|
||||
log.error(`This method is deprecated: ${message}`);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue