Ver Fonte

change error message

nagadomi há 10 anos atrás
pai
commit
9486ed1d76
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      web.lua

+ 1 - 1
web.lua

@@ -167,7 +167,7 @@ function APIHandler:post()
 	 self:write("ERROR: unsupported image format.")
       else
 	 self:set_status(400)
-	 self:write("ERROR: max image size exceeded.")
+	 self:write("ERROR: image size exceeds maximum allowable size.")
       end
    end
    collectgarbage()