DEV: Log theme error names and messages (#18260)

This commit is contained in:
Jarek Radosz 2022-09-15 14:14:52 +02:00 committed by GitHub
parent 2704a02e3a
commit e567eeb927
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ export default {
function reportToLogster(name, error) {
const data = {
message: `${name} theme/component is throwing errors`,
message: `${name} theme/component is throwing errors:\n${error.name}: ${error.message}`,
stacktrace: error.stack,
};