Skip to content

Commit

Permalink
quick & dirty fix to handle when api.exip.org is down
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed Dec 27, 2013
1 parent b35ca2c commit 3e23235
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
5 changes: 5 additions & 0 deletions bin/sitespeed.io
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e23235

Please sign in to comment.