working
[nikiroo-utils.git] / src / be / nikiroo / utils / serial / SerialUtils.java
index 480990a5be8dd2b06c43b44145822ac0dfdc81b0..52bc43aae85c054d03466c2e171f2f1bbfd7c8f1 100644 (file)
@@ -514,7 +514,7 @@ public class SerialUtils {
                        if (e instanceof IOException) {
                                throw (IOException) e;
                        }
-                       throw new IOException(e.getMessage());
+                       throw new IOException(e.getMessage(), e);
                }
        }