quick & dirty fix to handle when api.exip.org is down

This commit is contained in:
soulgalore 2013-12-27 20:57:02 +01:00
parent b35ca2c098
commit 3e23235a8b
2 changed files with 9 additions and 0 deletions

View File

@ -1,5 +1,9 @@
CHANGELOG sitespeed.io
version 2.3.1
------------------------
* Bug fix: Fixed bug When api.exip.org is down (sitespeed stops to work)
version 2.3
------------------------
* Put the JUnit files into a dir named /junit/ when running the sitespeed.io-junit script. WARNING: this means you need to change in Jenkins where you match the files.

View File

@ -390,6 +390,11 @@ if [ -z "$MY_IP" ]
then
MY_IP='unknown'
fi
## Ugly quick fix when the API is down
if [[ "$MY_IP" == *html* ]]
then
MY_IP='unknown'
fi
## Run included or local BT version
if hash browsertime 2>/dev/null; then