diff --git a/docker/models/plugins.py b/docker/models/plugins.py index 85d768c9..3e161a68 100644 --- a/docker/models/plugins.py +++ b/docker/models/plugins.py @@ -113,7 +113,7 @@ class Plugin(Model): A generator streaming the decoded API logs """ if self.enabled: - raise errors.DockerError( + raise errors.DockerException( 'Plugin must be disabled before upgrading.' )