##// END OF EJS Templates
logging: improved logging levels to not leak info to clients
super-admin -
r1325:5ec15a34 default
parent child Browse files
Show More
@@ -143,7 +143,8 b' def _maybe_handle_exception(writer, resu'
143 143 raise exceptions.VcsException()(*result['exception_args'])
144 144 case _:
145 145 if exception_class:
146 log.error('Handling hook-call exception. Got traceback from remote call:%s', exception_traceback)
146 # level here should be info/debug so the remote client wouldn't see this as a stderr message
147 log.info('ERROR: Handling hook-call exception. Got traceback from remote call:%s', exception_traceback)
147 148 raise Exception(
148 149 f"""Got remote exception "{exception_class}" with args "{result['exception_args']}" """
149 150 )
General Comments 0
You need to be logged in to leave comments. Login now