mirror of
https://github.com/discourse/discourse.git
synced 2025-03-04 03:26:25 +08:00
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) {
|
||||
const data = {
|
||||
message: `${name} theme/component is throwing errors`,
|
||||
message: `${name} theme/component is throwing errors:\n${error.name}: ${error.message}`,
|
||||
stacktrace: error.stack,
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user