mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 22:11:36 -05:00
refactor(pipes): move library usages to imports (#3901)
This commit is contained in:
1 parent
8e709b908b
commit
5a59456b2e
5 files changed
+33
-24
No files matched your search
@@ -1,5 +1,6 @@
|
||||
package io.github.hectorvent.floci.services.pipes;
|
||||
|
||||
import com.fasterxml.jackson.core.JsonProcessingException;
|
||||
import com.fasterxml.jackson.databind.JsonNode;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import io.github.hectorvent.floci.config.EmulatorConfig;
|
||||
@@ -118,7 +119,7 @@ public class PipesTargetInvoker {
|
||||
if ((node.isObject() || node.isArray()) && node.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
} catch (com.fasterxml.jackson.core.JsonProcessingException e) {
|
||||
} catch (JsonProcessingException e) {
|
||||
// Non-JSON textual enrichment response — forward as-is.
|
||||
}
|
||||
LOG.debugv("Pipe {0}: enrichment {1} produced target payload", pipe.getName(), enrichment);
|
||||
|
||||
Reference in new issue
Block a user