tileserver: log error 401
This commit is contained in:
parent
5bc48b891c
commit
856f4ecb59
1 changed files with 4 additions and 0 deletions
|
@ -106,6 +106,10 @@ class TileServer:
|
|||
logger.error('Rejected cache package download with Error 403. Tile secret is probably incorrect.')
|
||||
return False
|
||||
|
||||
if r.status_code == 401:
|
||||
logger.error('Rejected cache package download with Error 401. You have HTTP Auth active.')
|
||||
return False
|
||||
|
||||
if r.status_code == 304:
|
||||
if self.cache_package is not None:
|
||||
logger.debug('Not modified.')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue