The internal `custom.retriable.exception` property is defined with a non-String default
- Dominant language
- HTML
- Stars
- 6
- Forks
- 8
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 1
Description
The definition for `CUSTOM_RETRIABLE_EXCEPTION` is defined with a boolean default value:
```java
public static final Field CUSTOM_RETRIABLE_EXCEPTION = Field.createInternal("custom.retriable.exception")
.withDisplayName("Regular expression to match the exception message.")
.withType(Type.STRING)
.withGroup(Field.createGroupEntry(Field.Group.CONNECTOR_ADVANCED))
.withWidth(Width.MEDIUM)
.withImportance(Importance.LOW)
.withDescription("Provide a temporary workaround for an error that should be retriable."
+ " If set a stacktrace of non-retriable exception is traversed and messages are"
+ " matched against this regular expression. If matched the error is changed to retriable.")
.withDefault(false);
```
The `withDefault` likely doesn't belong.
Contributor guide
Assessment
This issue has not been assessed yet.