Bump ospackage plugin

This commit is contained in:
crschnick
2026-02-09 11:20:24 +00:00
parent ce8791dc38
commit b20d04682b
2 changed files with 6 additions and 4 deletions
@@ -74,9 +74,11 @@ public class SentryErrorHandler implements ErrorHandler {
ObjectInputStream ois = new ObjectInputStream(bais);
var copy = (Throwable) ois.readObject();
var msgField = Throwable.class.getDeclaredField("detailMessage");
msgField.setAccessible(true);
msgField.set(copy, null);
if (!(copy instanceof NullPointerException)) {
var msgField = Throwable.class.getDeclaredField("detailMessage");
msgField.setAccessible(true);
msgField.set(copy, null);
}
if (copy instanceof FileSystemException) {
var fileField = FileSystemException.class.getDeclaredField("file");
+1 -1
View File
@@ -1,7 +1,7 @@
plugins {
id 'org.beryx.jlink' version '3.2.1'
id("com.netflix.nebula.ospackage") version "12.1.1"
id("com.netflix.nebula.ospackage") version "12.2.0"
id 'org.gradle.crypto.checksum' version '1.4.0'
id 'signing'
}