Post trigger test

This commit is contained in:
Tim Shannon 2016-04-20 16:22:42 +00:00
parent b5bfd93cff
commit 20084b9429
2 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,7 @@ dir=$1
go get -u git.townsourced.com/townsourced/ironsmith
cd $dir/src/git.townsourced.com/townsourced/ironsmith
ls $dir
#cd $dir/src/git.townsourced.com/townsourced/ironsmith
go-bindata web/... && go build -a -v -o ironsmith

View File

@ -6,6 +6,7 @@ package main
import (
"encoding/json"
"fmt"
"io"
"io/ioutil"
"log"
@ -84,6 +85,8 @@ func parseInput(r *http.Request, result interface{}) error {
return err
}
fmt.Printf("JSON Input: %s\n", buff)
if lr.N == 0 {
return errInputTooLarge
}