mirror of
				http://git.whoc.org.uk/git/password-manager.git
				synced 2025-10-31 11:27:34 +01:00 
			
		
		
		
	Added log message when attachment uploading fails due to quota limits
This commit is contained in:
		| @@ -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', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Giulio Cesare Solaroli
					Giulio Cesare Solaroli