diff options
author | Florian Pritz <bluewind@xinu.at> | 2016-03-28 00:09:22 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2016-03-28 00:09:22 +0200 |
commit | 65993eb5969024256f6c9564a541b27f05cd1414 (patch) | |
tree | e3c12787b7253931cc8f5c66ae60000b728ab074 /fb.py | |
parent | 79470d9defec44fa7308d97f316d0561dabdf94d (diff) |
Improve "File too big" error message
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'fb.py')
-rwxr-xr-x | fb.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"]): |