Skip to content

Commit 78e6977

Browse files
Sandro642Copilot
andauthored
Update src/main/java/fr/sandro642/github/hook/HookManager.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e38d676 commit 78e6977

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/fr/sandro642/github/hook/HookManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public String BASE_PATH() {
7777

7878
default:
7979
logger.CRITICAL("Unsupported resource type: " + resourceType);
80-
return null;
80+
throw new IllegalArgumentException("Unsupported resource type: " + resourceType);
8181
}
8282
}
8383

0 commit comments

Comments
 (0)