mirror of https://github.com/xwiki-labs/cryptpad
Print the error when trying to get the limit
This commit is contained in:
parent
a5cf6732c5
commit
f95f9727bf
|
@ -823,7 +823,7 @@ MessengerUI, Messages) {
|
|||
'title': Messages.pinLimitReached
|
||||
}).append($limitIcon).hide();
|
||||
var todo = function (e, overLimit) {
|
||||
if (e) { return void console.error("Unable to get the pinned usage"); }
|
||||
if (e) { return void console.error("Unable to get the pinned usage", e); }
|
||||
if (overLimit) {
|
||||
var key = 'pinLimitReachedAlert';
|
||||
if (ApiConfig.noSubscriptionButton === true) {
|
||||
|
|
Loading…
Reference in New Issue