diff --git a/lib/autoloader.php b/lib/autoloader.php
index 010318a65be3f5bd90dcefcf33c9b6c41ccbf06f..d7649781ea1491deb89a6891fbef50a1aa8a37fa 100644
--- a/lib/autoloader.php
+++ b/lib/autoloader.php
@@ -129,7 +129,7 @@ class Autoloader {
 				return true;
 			}
 		}
-		throw new \Exception('Path not allowed');
+		throw new \Exception('Path not allowed: '. $fullPath);
 	}
 
 	/**