9 lines
346 B
Plaintext
9 lines
346 B
Plaintext
#
|
|
dmgr = DownloadMgr(request, DictObject(**globals()))
|
|
try:
|
|
x = await dmgr.download(params_kw.url)
|
|
return UiMessage(title='download', message=f'download submited')
|
|
except Exception as e:
|
|
exception(f'{params_kw.url} download failed,{e=}\n{format_exc()}')
|
|
return UiError(title='download error', message=f'{params_kw.url} download failed,{e=}')
|