Come posso ottenere una diagnostica utile da boto? Tutto ciò che mi sembra di ottenere è la "400 Bad Request" infuriantemente inutile. Riconosco che boto sta semplicemente passando lungo ciò che l'API sottostante rende disponibile, ma sicuramente c'è un modo per ottenere qualcosa di più utile di "Bad Request".Come posso ottenere una diagnostica utile da boto?
Traceback (most recent call last):
File "./mongo_pulldown.py", line 153, in <module>
main()
File "./mongo_pulldown.py", line 24, in main
print "snap = %r" % snap
File "./mongo_pulldown.py", line 149, in __exit__
self.connection.delete_volume(self.volume.id)
File "/home/roy/deploy/current/python/local/lib/python2.7/site-packages/boto/ec2/connection.py", line 1507, in delete_volume
return self.get_status('DeleteVolume', params, verb='POST')
File "/home/roy/deploy/current/python/local/lib/python2.7/site-packages/boto/connection.py", line 985, in get_status
raise self.ResponseError(response.status, response.reason, body)
boto.exception.EC2ResponseError: EC2ResponseError: 400 Bad Request
'import boto; boto.set_stream_logger ('boto') 'stamperà i risultati JSON inclusi eventuali errori riscontrati nella console. – ecoe