Nicolas Cannasse 12 年之前
父节点
当前提交
479369a8f4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      genswf.ml

+ 1 - 1
genswf.ml

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