diff --git a/api/src/ppman/package.js b/api/src/ppman/package.js index 2e04905..ee12bd9 100644 --- a/api/src/ppman/package.js +++ b/api/src/ppman/package.js @@ -140,7 +140,7 @@ class Package { if(!found_runtime){ logger.error(`Uninstalling ${this.language}-${this.version.raw} failed: Not installed`) - return + throw new Error(`${this.language}-${this.version.raw} is not installed`) } logger.debug("Unregistering runtime")