reportError in js
This commit is contained in:
parent
09d956e74f
commit
a0d55b9f3c
9
index.js
9
index.js
@ -19,4 +19,13 @@ export default {
|
|||||||
reportEvent(message, params = null) {
|
reportEvent(message, params = null) {
|
||||||
AppMetrica.reportEvent(message, params);
|
AppMetrica.reportEvent(message, params);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sends error with reason.
|
||||||
|
* @param {string} error
|
||||||
|
* @param {object} reason
|
||||||
|
*/
|
||||||
|
reportError(error, reason) {
|
||||||
|
AppMetrica.reportError(error, reason);
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user