diff --git a/README.md b/README.md index 4c15eff..463cc51 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ a mapping exists. | `map-center-lon` | Numeric (decimal) | (auto) | `?map-center-lon=-0.1` | Sets the initial longitude of the map centre on the map page. If omitted, the map auto-fits to the loaded spots. | | `map-zoom` | Numeric (integer) | (auto) | `?map-zoom=6` | Sets the initial zoom level of the map on the map page. If omitted, the map auto-fits to the loaded spots. | -More will be added soon to allow customisation of filters and other display properties. +See the comment at the end of the next section regarding reliability and uptime of the "main" server. ## Writing your own client @@ -95,7 +95,13 @@ Various approaches exist to writing your own client, but in general: * Refer to the provided HTML/JS interface for a reference on different approaches. For example, the "map" and "bands" pages simply query the main spot API on a timer, whereas the main/spots page combines this approach with using the Server-Sent Events (SSE) endpoint to update live. -* Let me know if you get stuck, I'm happy to help! +* Let me know if you get stuck, I'm happy to help. + +Remember, here at Spothole Inc. we offer an industry-standard "five nines" uptime on our server, with our own unique +twist: we don't tell you which side of the decimal point the nines start! (Translation: This is a hobby project. +`spothole.app` runs on the same server as my blog and other stuff. It might go down without warning. By all means base +your own project on data from the main server if you like, but if you want any control over reliability and downtime, +please run your own copy instead.) ## Running your own copy diff --git a/spotproviders/gma.py b/spotproviders/gma.py index cfa6f20..a795ae0 100644 --- a/spotproviders/gma.py +++ b/spotproviders/gma.py @@ -89,4 +89,7 @@ class GMA(HTTPSpotProvider): except: logging.warning("Exception when looking up " + self.REF_INFO_URL_ROOT + source_spot[ "REF"] + ", ignoring this spot for now") + else: + logging.warning("The GMA API returned an unexpected response.") + return new_spots diff --git a/templates/add_spot.html b/templates/add_spot.html index 331399e..c4dba3e 100644 --- a/templates/add_spot.html +++ b/templates/add_spot.html @@ -76,7 +76,7 @@ - + diff --git a/templates/alerts.html b/templates/alerts.html index 17c24f4..7c55794 100644 --- a/templates/alerts.html +++ b/templates/alerts.html @@ -75,7 +75,7 @@ - + diff --git a/templates/bands.html b/templates/bands.html index aa7281c..bf6e0d7 100644 --- a/templates/bands.html +++ b/templates/bands.html @@ -77,8 +77,8 @@ - - + + diff --git a/templates/base.html b/templates/base.html index 90ec0e4..385547c 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,6 +1,6 @@ {% extends "skeleton.html" %} {% block head_extra %} - + @@ -10,10 +10,10 @@ - - - - + + + + {% end %} {% block body %}