kopia lustrzana https://github.com/c9/core
Use log() method also used in server-side error.logger, metrics, analytics
rodzic
cdf2dc6ba7
commit
b251c4ea98
|
@ -75,7 +75,9 @@ define(function(require, exports, module) {
|
||||||
/***** Register and define API *****/
|
/***** Register and define API *****/
|
||||||
|
|
||||||
plugin.freezePublicAPI({
|
plugin.freezePublicAPI({
|
||||||
reportError: reportError
|
/** @deprecated Use log() instead. */
|
||||||
|
reportError: reportError,
|
||||||
|
log: reportError
|
||||||
});
|
});
|
||||||
|
|
||||||
register(null, { "error_handler" : plugin });
|
register(null, { "error_handler" : plugin });
|
||||||
|
|
|
@ -108,7 +108,9 @@ define(function(require, exports, module) {
|
||||||
/***** Register and define API *****/
|
/***** Register and define API *****/
|
||||||
|
|
||||||
plugin.freezePublicAPI({
|
plugin.freezePublicAPI({
|
||||||
reportError: reportError
|
/** @deprecated Use log() instead. */
|
||||||
|
reportError: reportError,
|
||||||
|
log: reportError
|
||||||
});
|
});
|
||||||
|
|
||||||
register(null, { "error_handler" : plugin });
|
register(null, { "error_handler" : plugin });
|
||||||
|
|
Ładowanie…
Reference in New Issue