Skip to content

Commit

Permalink
Error message if data service is offline
Browse files Browse the repository at this point in the history
  • Loading branch information
RasmusBahbah committed Jan 18, 2023
1 parent 567b36d commit 2ed2daf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion carra2py.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,11 @@ def get_data(self,polar = None):
check = 1
except:
pass


if check == 0:
logging.info('Data service is unavailable, try another date or later')

return None

os.chdir(self.base_folder)

Expand Down

0 comments on commit 2ed2daf

Please sign in to comment.