Commit ac61cc6d authored by justcoding121's avatar justcoding121

add exception function for proxy authorization handler

parent 3682d389
...@@ -75,6 +75,7 @@ namespace Titanium.Web.Proxy ...@@ -75,6 +75,7 @@ namespace Titanium.Web.Proxy
} }
catch (Exception e) catch (Exception e)
{ {
ExceptionFunc(e);
//Return not authorized //Return not authorized
await WriteResponseStatus(new Version(1, 1), "407", await WriteResponseStatus(new Version(1, 1), "407",
"Proxy Authentication Invalid", clientStreamWriter); "Proxy Authentication Invalid", clientStreamWriter);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment