Explorar o código

change error message

nagadomi %!s(int64=10) %!d(string=hai) anos
pai
achega
9486ed1d76
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()