Show fault message and detail in faults page
This commit is contained in:
1 parent
44471d5f5e
commit
4e378d4dff
6 files changed
+105
-12
No files matched your search
@@ -353,10 +353,6 @@ function flattenFault(fault) {
|
||||
const f = Object.assign({}, fault);
|
||||
if (f.timestamp) f.timestamp = +f.timestamp;
|
||||
if (f.expiry) f.expiry = +f.expiry;
|
||||
if (f.detail) {
|
||||
for (const [k, v] of Object.entries(f.detail)) fault[`detail.${k}`] = v;
|
||||
delete f.detail;
|
||||
}
|
||||
return f;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user