mirror of
https://github.com/frappe/books.git
synced 2025-01-11 02:36:14 +00:00
incr: add more info on error reporting
This commit is contained in:
parent
8d8660f30f
commit
eadfd6f716
@ -26,6 +26,12 @@ async function reportError(errorLogObj: ErrorLog) {
|
|||||||
error_name: errorLogObj.name,
|
error_name: errorLogObj.name,
|
||||||
message: errorLogObj.message,
|
message: errorLogObj.message,
|
||||||
stack: errorLogObj.stack,
|
stack: errorLogObj.stack,
|
||||||
|
platform: fyo.store.platform,
|
||||||
|
version: fyo.store.appVersion,
|
||||||
|
language: fyo.store.language,
|
||||||
|
instance_id: fyo.store.instanceId,
|
||||||
|
open_count: fyo.store.openCount,
|
||||||
|
country_code: fyo.singles.SystemSettings?.countryCode,
|
||||||
more: stringifyCircular(errorLogObj.more ?? {}),
|
more: stringifyCircular(errorLogObj.more ?? {}),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user