Ensure to set peer variable before using it when catchin exception
ci/woodpecker/push/woodpecker Pipeline was successful Details

master
Benjamin Renard 3 months ago
parent ab7e09d7b6
commit 6cb7f8cfe9

@ -103,6 +103,7 @@ if not options.logfile or options.console:
logconsole.setFormatter(logformat)
log.addHandler(logconsole)
peer = "UNKNOWN"
try:
if options.unix_socket_path:
peer = options.unix_socket_path

Loading…
Cancel
Save