mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
fixed issue #5029 , add deserializer message
This commit is contained in:
@@ -79,7 +79,7 @@ public class CanalMessageSerializerUtil {
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException("Error when serializing message to byte[] ");
|
||||
throw new RuntimeException("Error when serializing message to byte[] by " + e.getMessage() , e);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
@@ -125,7 +125,7 @@ public class CanalMessageSerializerUtil {
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
throw new CanalClientException("deserializer failed", e);
|
||||
throw new CanalClientException("deserializer failed by " + e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user