distgit: Don't raise, return the error to the client
Raising only sends the error to the logs, the client thinks everything went fine.
This commit is contained in:
parent
6e8957be3b
commit
0897e5d042
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ def main():
|
|||
|
||||
except OSError as e:
|
||||
if e.errno != errno.EEXIST:
|
||||
raise e
|
||||
send_error(str(e))
|
||||
|
||||
try:
|
||||
os.link(dest_file, old_path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue