                                                     }
                                                     
                                                     if let commentDate = commentElement["DateCreated"] as? String {
-                                                        let date = self.ocmCommentDateFormatParser(OCMDateString: commentDate)
-                                                        comment.commentDate = date.timeIntervalSinceReferenceDate
+                                                        do {
+                                                        let date = try self.ocmCommentDateFormatParser(OCMDateString: commentDate)
+                                                            comment.commentDate = date.timeIntervalSinceReferenceDate
+                                                        } catch DataManagerError.InvalidDateFormat {
+                                                            
+                                                        } catch {
+                                                            
+                                                        }
                                                         
                                                     }
                                                     

                                    }
                                    
                                    if let chargerDataLastUpdateTime = element["DateLastStatusUpdate"] as? String {
                                        let date = self.ocmDateFormatParser(OCMDateString: chargerDataLastUpdateTime)
                                        chargerPrimary.chargerDataLastUpdate = date.timeIntervalSinceReferenceDate

                                    }
                                    
                                    // Media

        return "Boundary-\(NSUUID().UUIDString)"
    }
    
    func ocmDateFormatParser(OCMDateString dateString: String) throws -> NSDate {
        //Format date string from OCM to NSDate
        let dateFormatter = NSDateFormatter()
        dateFormatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss"
        let cleanedUpdateDate = dateString.stringByReplacingOccurrencesOfString("Z", withString: "")
        guard let formattedDate = dateFormatter.dateFromString(cleanedUpdateDate) else {
            throw DataManagerError.InvalidDateFormat
        }
        return formattedDate
    }
    
    func ocmCommentDateFormatParser(OCMDateString dateString: String) throws -> NSDate  {
        //Format comment date string from OCM to NSDate
        let dateFormatter = NSDateFormatter()
        dateFormatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SS"
        let cleanedUpdateDate = dateString.stringByReplacingOccurrencesOfString("Z", withString: "")
        guard let formattedDate = dateFormatter.dateFromString(cleanedUpdateDate) else {
            throw DataManagerError.InvalidDateFormat
        }
        return formattedDate
    }
    
    
