got resolve not running on callback errors