Adds stack trace when failure to commit a chunk happens