Skip to content

Commit

Permalink
deneme 5
Browse files Browse the repository at this point in the history
  • Loading branch information
ensargx committed Apr 7, 2024
1 parent 77099f9 commit 9826038
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def do_POST(self):
self.send_response(500)
# data = {'error': 'Error getting refresh token'}
self.end_headers()
self.wfile.write(b'Error getting refresh token')
self.wfile.write(b'Error getting refresh token: ' + str(e).encode('utf-8'))
return

print("Downloading videos...")
Expand All @@ -57,7 +57,7 @@ def do_POST(self):
print("Error downloading videos:", e)
self.send_response(500)
self.end_headers()
self.wfile.write(b'Error downloading videos')
self.wfile.write(b'Error downloading videos: ' + str(e).encode('utf-8'))
return

exit(0)
Expand Down

0 comments on commit 9826038

Please sign in to comment.