mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Bring back WCF address denied message
This commit is contained in:
@@ -104,6 +104,9 @@ namespace ArchiSteamFarm {
|
||||
ServiceHost.AddServiceEndpoint(typeof(IWCF), new BasicHttpBinding(), string.Empty);
|
||||
|
||||
ServiceHost.Open();
|
||||
} catch (AddressAccessDeniedException) {
|
||||
ASF.ArchiLogger.LogGenericError("WCF service could not be started because of AddressAccessDeniedException!");
|
||||
ASF.ArchiLogger.LogGenericWarning("If you want to use WCF service provided by ASF, consider starting ASF as administrator, or giving proper permissions!");
|
||||
} catch (Exception e) {
|
||||
ASF.ArchiLogger.LogGenericException(e);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user