throw error
This commit is contained in:
parent
890d9f024d
commit
46b1e9118d
|
@ -140,7 +140,7 @@ class Package {
|
||||||
|
|
||||||
if(!found_runtime){
|
if(!found_runtime){
|
||||||
logger.error(`Uninstalling ${this.language}-${this.version.raw} failed: Not installed`)
|
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")
|
logger.debug("Unregistering runtime")
|
||||||
|
|
Loading…
Reference in New Issue