diff --git a/lib/classes/plugin-manager.js b/lib/classes/plugin-manager.js
index <HASH>..<HASH> 100644
--- a/lib/classes/plugin-manager.js
+++ b/lib/classes/plugin-manager.js
@@ -487,10 +487,10 @@ class PluginManager {
 
         // Invalid command, can happen only when Framework is used programmatically,
         // as otherwise command is validated in main script
-        throw new new ServerlessError(
+        throw new ServerlessError(
           `Unrecognized command "${commandsArray.join(' ')}"`,
           'UNRECOGNIZED COMMAND'
-        )();
+        );
       },
       { commands: this.commands }
     );
fix: Fix internal unrecognized command error processing