simonwhitaker/PyAPNs — pull request #27 by sandipagr (2012-12-20 20:39:31+00:00)
Title: Include payload size in PayloadTooLargeError

Currently, there is no information about the payload size when a PayloadTooLargeError is raised. It is kind of helpful to know this when an exception is raised so that application developer can use this info for logging or cutting down the payload.