🎨 Replace PluginException with Kotlin version
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / freenet / plugin / FredPluginConnector.kt
index 9852e61..45afb36 100644 (file)
@@ -30,7 +30,7 @@ class FredPluginConnector @Inject constructor(private val pluginRespiratorFacade
                                receivedReply.receive()
                        }
                } catch (e: PluginNotFoundException) {
-                       throw PluginException(e)
+                       throw PluginException(cause = e)
                }
        }