Catch errors and print them
Initial release to haxelib