DEV: Log theme error names and messages (#18260)
This commit is contained in:
parent
2704a02e3a
commit
e567eeb927
|
@ -47,7 +47,7 @@ export default {
|
||||||
|
|
||||||
function reportToLogster(name, error) {
|
function reportToLogster(name, error) {
|
||||||
const data = {
|
const data = {
|
||||||
message: `${name} theme/component is throwing errors`,
|
message: `${name} theme/component is throwing errors:\n${error.name}: ${error.message}`,
|
||||||
stacktrace: error.stack,
|
stacktrace: error.stack,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue