summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fb.py b/fb.py
index 6e567e9..8e7487b 100755
--- a/fb.py
+++ b/fb.py
@@ -115,7 +115,7 @@ class CURLWrapper:
if filesize > self.config["warnsize"]:
self.getServerConfig()
if filesize > self.serverConfig["upload_max_size"]:
- raise APIException("File too big")
+ raise APIException("File too big: %s" % (file.path))
if self.serverConfig is not None and (currentChunkSize + filesize > self.serverConfig["request_max_size"] \
or len(chunks[currentChunk]) >= self.serverConfig["max_files_per_request"]):