Skip to content

Commit

Permalink
show post tweet
Browse files Browse the repository at this point in the history
  • Loading branch information
y-yagi committed Jun 27, 2017
1 parent 1c8252d commit 7206043
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ func updateStatus(egose *Egose) error {

err = egose.UpdateStatus(tweet)
if err != nil {
return errors.Wrap(err, "twitter API Error")
msg := fmt.Sprintf("twitter API Error.\ntweet: %v", tweet)
return errors.Wrap(err, msg)
}

return nil
Expand Down

0 comments on commit 7206043

Please sign in to comment.