1
0
Fork 0

feat: add error log

master^2
502647092 2018-10-29 18:37:22 +08:00
parent 92cd37cb0d
commit a7c2dd048e
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@ func syncClipboard(a string) {
response, err := http.Get(a)
if err != nil {
time.Sleep(1000 * time.Millisecond)
fmt.Printf("Http Request Error: %s\n", err.Error())
continue
}
texts, ok := response.Header[textHeader]