Only report traces as offline when they are offline
This commit is contained in:
parent
ce99bfd9ac
commit
96ee7ef95c
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ module Api
|
|||
end
|
||||
|
||||
def offline_error
|
||||
report_error "GPX files offline for maintenance", :service_unavailable
|
||||
report_error "GPX files offline for maintenance", :service_unavailable if Settings.status == "gpx_offline"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue