bump deps and improve error handling
0.3.1