Skip to content

Commit

Permalink
more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
burnout87 committed Nov 9, 2023
1 parent e4fbd30 commit 688313e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion oda_api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,9 @@ def get_product_description(self, instrument, product_name):

@safe_run
def get_instruments_list(self):
res = requests.get("%s/api/instr-list" % self.url,
url_request = "%s/api/instr-list" % self.url
print(f"url request: {url_request}")
res = requests.get(url_request,

Check warning on line 981 in oda_api/api.py

View check run for this annotation

Codecov / codecov/patch

oda_api/api.py#L979-L981

Added lines #L979 - L981 were not covered by tests
params=dict(instrument=self.instrument, token=self.token), cookies=self.cookies)

if res.status_code != 200:
Expand Down

0 comments on commit 688313e

Please sign in to comment.