Index: ammosreader/PPDWReader.py
===================================================================
--- ammosreader/PPDWReader.py	(revision aebe4a1f6506a4e7fc39d94d6683b5e2fb9985dd)
+++ ammosreader/PPDWReader.py	(revision 19ee7347491c798bcc8bdd2f2afbeaa213ffa2e8)
@@ -15,14 +15,17 @@
 
     def read_all_frames_left(self):
-        while self.cursor <= len(self.content) - 32:
-            current_bytes = self.content[self.cursor:self.cursor+32]
-            assert len(current_bytes) == 32
-            if not current_bytes:
-                # print('End of file detected')
-                break
-            if self.cursor + 32 >= len(self.content):
-                # print('Can not read all 32 bytes of next PDW')
-                break
-            self.container.add(PDW.from_bytes(current_bytes))
-            self.cursor += 32
+        try:
+            while self.cursor <= len(self.content) - 32:
+                current_bytes = self.content[self.cursor:self.cursor+32]
+                assert len(current_bytes) == 32
+                if not current_bytes:
+                    # print('End of file detected')
+                    break
+                if self.cursor + 32 >= len(self.content):
+                    # print('Can not read all 32 bytes of next PDW')
+                    break
+                self.container.add(PDW.from_bytes(current_bytes))
+                self.cursor += 32
+        except Exception:
+            return None
         return self.container
