@expo/xdl
Version:
The Expo Development Library
26 lines (18 loc) • 459 B
JavaScript
;
function _serializeError() {
const data = require("serialize-error");
_serializeError = function () {
return data;
};
return data;
}
class LogReporter {
update(event) {
if (event.error instanceof Error) {
event.error = (0, _serializeError().serializeError)(event.error);
}
console.log(JSON.stringify(event));
}
}
module.exports = LogReporter;
//# sourceMappingURL=../__sourcemaps__/reporter/index.js.map