Skip to content

Commit

Permalink
turn off debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
fanglinfang committed Dec 23, 2022
1 parent 7312090 commit 53765fd
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions uw_hrp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# SPDX-License-Identifier: Apache-2.0

"""
This is the interface for interacting with
the hrp web service.
This is the interface for interacting with the hrp web service.
"""

import logging
Expand All @@ -16,10 +15,6 @@

def get_resource(url):
response = HRP_DAO().getURL(url, {'Accept': 'application/json'})

logger.debug("{0} ==status==> {1}".format(url, response.status))
if response.status != 200:
raise DataFailureException(url, response.status, response.data)

logger.debug("{0} ==data==> {1}".format(url, response.data))
return response.data

0 comments on commit 53765fd

Please sign in to comment.