Skip to content

Commit 31ed0ba

Browse files
committed
Use Picard's logging for browser integration
1 parent df7a263 commit 31ed0ba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

picard/browser/browser.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,12 @@ def do_GET(self):
153153
log.error('Browser integration failed handling request', exc_info=True)
154154
self._response(500, 'Unexpected request error')
155155

156+
def log_error(self, format, *args):
157+
log.error(format, *args)
158+
159+
def log_message(self, format, *args):
160+
log.info(format, *args)
161+
156162
def _handle_get(self):
157163
parsed = urlparse(self.path)
158164
args = parse_qs(parsed.query)

0 commit comments

Comments
 (0)