mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Use log() method also used in server-side error.logger, metrics, analytics
This commit is contained in:
parent
cdf2dc6ba7
commit
b251c4ea98
@ -75,7 +75,9 @@ define(function(require, exports, module) {
|
||||
/***** Register and define API *****/
|
||||
|
||||
plugin.freezePublicAPI({
|
||||
reportError: reportError
|
||||
/** @deprecated Use log() instead. */
|
||||
reportError: reportError,
|
||||
log: reportError
|
||||
});
|
||||
|
||||
register(null, { "error_handler" : plugin });
|
||||
|
||||
@ -108,7 +108,9 @@ define(function(require, exports, module) {
|
||||
/***** Register and define API *****/
|
||||
|
||||
plugin.freezePublicAPI({
|
||||
reportError: reportError
|
||||
/** @deprecated Use log() instead. */
|
||||
reportError: reportError,
|
||||
log: reportError
|
||||
});
|
||||
|
||||
register(null, { "error_handler" : plugin });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user