Added log message when attachment uploading fails due to quota limits
This commit is contained in:
parent
fbcd02dffd
commit
2a99e316fe
@ -551,6 +551,13 @@ MochiKit.Base.update(Clipperz.PM.UI.AttachmentController.prototype, {
|
||||
var queueElement = this.getQueueElement(aFileReference);
|
||||
var messageString = aMessage ? " (" + aMessage + ")" : "";
|
||||
|
||||
try {
|
||||
if (Clipperz.Base.evalJSON(anException['req']['response'])['message'] == "not enough space available for uploading the attachment") {
|
||||
console.log("NOT ENOUGH ATTACHMENT QUOTA EXCEPTION");
|
||||
}
|
||||
} catch (exception) {
|
||||
}
|
||||
|
||||
if (queueElement['status'] != 'CANCELED') {
|
||||
this.updateFileInQueue(aFileReference, {
|
||||
'status': 'FAILED',
|
||||
|
Loading…
Reference in New Issue
Block a user