mirror of
https://github.com/frappe/books.git
synced 2025-01-23 15:18:24 +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,
|
||||
message: errorLogObj.message,
|
||||
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 ?? {}),
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user