mirror of https://github.com/quasar/Quasar.git
Changed GetRootKey so that it throws a Exception instead of returning null
This commit is contained in:
parent
1e5186de55
commit
30f1d30fc8
|
@ -318,7 +318,8 @@ namespace xClient.Core.Registry
|
|||
case "HKEY_CURRENT_CONFIG":
|
||||
return Microsoft.Win32.Registry.CurrentConfig;
|
||||
default:
|
||||
return null;
|
||||
/* If none of the above then the key must be invalid */
|
||||
throw new Exception("Invalid rootkey, could not be found");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue