Skip to content

Commit

Permalink
add wiki link for httpd access denied error
Browse files Browse the repository at this point in the history
  • Loading branch information
BillyGalbreath committed Jul 11, 2024
1 parent 3c33c6a commit 72dbf23
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/httpd/WebServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ private void RunAsyncInfiniteLoop() {
(_listener = new HttpListener { Prefixes = { $"http://*:{port}/" } }).Start();
} catch (Exception e) {
Logger.Error("Internal webserver has failed to start");
if (e is HttpListenerException { ErrorCode: 5 }) {
Logger.Error("Check LiveMap Wiki for possible fixes: https://vs.pl3x.net/livemap-access-denied");
}
Logger.Error(e.ToString());
_running = false;
_stopped = true;
Expand Down

0 comments on commit 72dbf23

Please # to comment.