aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/pathod.py
diff options
context:
space:
mode:
Diffstat (limited to 'libpathod/pathod.py')
-rw-r--r--libpathod/pathod.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/libpathod/pathod.py b/libpathod/pathod.py
index 9d155301..5180361b 100644
--- a/libpathod/pathod.py
+++ b/libpathod/pathod.py
@@ -71,6 +71,11 @@ class PathodHandler(tcp.BaseHandler):
800,
"Error parsing response spec: %s\n"%v.msg + v.marked()
)
+ except rparse.FileAccessDenied:
+ crafted = rparse.InternalResponse(
+ 800,
+ "Access Denied"
+ )
request_log = dict(
path = path,