up
This commit is contained in:
@ -3,6 +3,7 @@ import concurrent.futures as pool
|
||||
import subprocess
|
||||
|
||||
from functools import partial
|
||||
import traceback
|
||||
from urllib.parse import urlparse
|
||||
|
||||
from src.core.async_queue import AsyncQueue
|
||||
@ -111,6 +112,12 @@ class MasterService:
|
||||
"result": ex.default_message,
|
||||
"status": "error"
|
||||
})
|
||||
except Exception as ex:
|
||||
Result(result_type=ResultTypeEnum.EXCEPTION, value={
|
||||
"link": video_params["link"],
|
||||
"result": traceback.format_exc(),
|
||||
"status": "error"
|
||||
})
|
||||
# TODO upload to server
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user