Show full stack trace for PublisherApiExceptions with no detail message.

Previously, for various unforeseen exceptions, we ended up masking the real
exception, causing just "Upload failed: null" to be written to the build log.