Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Discuss Data Project
Discuss Data
Commits
3acbaa37
Commit
3acbaa37
authored
Mar 28, 2021
by
felix.herrmann
Browse files
fix(logging): add file downloader logging info
parent
0eaa2dcb
Changes
1
Hide whitespace changes
Inline
Side-by-side
discuss_data/dddatasets/views/core.py
View file @
3acbaa37
...
...
@@ -127,6 +127,9 @@ def files_download(request, uuid, df_uuid):
ds
=
get_object_or_404
(
DataSet
,
uuid
=
uuid
)
datafile
=
DataFile
.
objects
.
get
(
uuid
=
df_uuid
,
dataset
=
ds
)
logger
.
info
(
"datafile.file.path: %s"
,
datafile
.
file
.
path
,
exc_info
=
1
)
logger
.
info
(
"datafile.get_download_file_name(): %s"
,
datafile
.
get_download_file_name
()
)
# check permissions for the dataset if it is of filetype DATA or CONVERTED
if
datafile
.
data_file_type
in
(
datafile
.
FILE_TYPE_DATA
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment