Fix failed post not logging stack trace.