Fix logging in util/deprecated.ts
This commit is contained in:
@@ -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}`);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user