File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7
7
8
8
## [ Unreleased]
9
9
10
+ ## Fixed
11
+
12
+ - utils.py: get_file_type_for_flatten_tool: include an error message in raise at end https://github.com/OpenDataServices/lib-cove-web-2/issues/3
13
+
10
14
## [ 0.2.0] - 2023-07-11
11
15
12
16
## Added
Original file line number Diff line number Diff line change @@ -38,4 +38,11 @@ def get_file_type_for_flatten_tool(supplied_data_file: SuppliedDataFile):
38
38
except FileNotFoundError :
39
39
pass
40
40
# All right, we give up.
41
- raise
41
+ raise Exception (
42
+ "Could not get file type for file "
43
+ + str (supplied_data_file .id )
44
+ + " with file name "
45
+ + str (supplied_data_file .filename )
46
+ + " and content type "
47
+ + str (supplied_data_file .content_type )
48
+ )
You can’t perform that action at this time.
0 commit comments