server/upload.py: log backtrace in case of exception