Nicolas Cannasse 12 years ago
parent
commit
479369a8f4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      genswf.ml

+ 1 - 1
genswf.ml

@@ -878,7 +878,7 @@ let build_swf9 com file swc =
 							with Exit ->
 								raw()
 							| _ ->
-								failwith ("Could not read PNG " ^ file)
+								com.error ("Failed to decode this PNG " ^ file) p
 							)
 						| _ -> raw()
 					) in