remove unnecessary console.log
Added error handling and printing
0.1.4