print stack trace on check package connection failure