We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79abea3 commit 022fbd6Copy full SHA for 022fbd6
1 file changed
ingestion/src/main/java/feast/ingestion/transform/fn/LoggerDoFn.java
@@ -17,7 +17,6 @@
17
18
package feast.ingestion.transform.fn;
19
20
-import com.google.protobuf.InvalidProtocolBufferException;
21
import com.google.protobuf.Message;
22
import com.google.protobuf.util.JsonFormat;
23
import com.google.protobuf.util.JsonFormat.Printer;
@@ -46,7 +45,7 @@ public void processElement(ProcessContext context) {
46
45
String message;
47
try {
48
message = prefix + printer.print(context.element());
49
- } catch (InvalidProtocolBufferException e) {
+ } catch (Exception e) {
50
log.error(e.getMessage(), e);
51
message = prefix + context.element().toString();
52
}
0 commit comments