Update bitbucket.php

better logging