Commit 6abe74c4 authored by cyberta's avatar cyberta
Browse files

print stacktrace if json serialization of a VpnProfile fails

parent 045675a8
......@@ -1131,8 +1131,9 @@ public class VpnProfile implements Serializable, Cloneable {
try {
return gson.toJson(this);
} catch (Exception e) {
return null;
e.printStackTrace();
}
return null;
}
public static VpnProfile fromJson(String json) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment