Print the error when trying to get the limit

This commit is contained in:
yflory 2019-04-04 11:26:19 +02:00
parent a5cf6732c5
commit f95f9727bf
1 changed files with 1 additions and 1 deletions

View File

@ -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) {