Show error in tooltip
This commit is contained in:
parent
df2b08a75a
commit
f2e1357b3c
|
@ -127,6 +127,10 @@ function reportUpdateState({updated, style, error, STATES}) {
|
||||||
['no-update', 0],
|
['no-update', 0],
|
||||||
['update-problem', 0],
|
['update-problem', 0],
|
||||||
]);
|
]);
|
||||||
|
if (typeof error === 'object' && error.message) {
|
||||||
|
// UserCSS meta errors provide an object
|
||||||
|
error = error.message;
|
||||||
|
}
|
||||||
if (updated) {
|
if (updated) {
|
||||||
newClasses.set('can-update', true);
|
newClasses.set('can-update', true);
|
||||||
entry.updatedCode = style;
|
entry.updatedCode = style;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user