瀏覽代碼

change error message

nagadomi 10 年之前
父節點
當前提交
9486ed1d76
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      web.lua

+ 1 - 1
web.lua

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