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
|
'title': Messages.pinLimitReached
|
||||||
}).append($limitIcon).hide();
|
}).append($limitIcon).hide();
|
||||||
var todo = function (e, overLimit) {
|
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) {
|
if (overLimit) {
|
||||||
var key = 'pinLimitReachedAlert';
|
var key = 'pinLimitReachedAlert';
|
||||||
if (ApiConfig.noSubscriptionButton === true) {
|
if (ApiConfig.noSubscriptionButton === true) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user