show the internal error text in icon tooltip
This commit is contained in:
parent
b52c36f9fb
commit
ccc875b3cc
|
@ -223,7 +223,12 @@ const syncMan = (() => {
|
||||||
return {
|
return {
|
||||||
text: 'x',
|
text: 'x',
|
||||||
color: '#F00',
|
color: '#F00',
|
||||||
title: !status.login ? 'syncErrorRelogin' : 'syncError',
|
title: !status.login ? 'syncErrorRelogin' : `${
|
||||||
|
chrome.i18n.getMessage('syncError')
|
||||||
|
}\n---------------------\n${
|
||||||
|
// splitting to limit each line length
|
||||||
|
lastError.message.replace(/.{60,}?\s(?=.{30,})/g, '$&\n')
|
||||||
|
}`,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user