Commit 3ed7f46f authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[utils] Improve AstractStorage error message in constructor

parent 81e9ed49
Pipeline #34109 passed with stage
in 7 minutes and 53 seconds
......@@ -226,7 +226,11 @@ class AbstractStorage(object):
if not all(
[type(attr) == str for attr in [self.asset_type, self.asset_folder]]
raise TypeError("asset_type and asset_folder must be configure properly")
raise TypeError(
"asset_type and asset_folder must be configured properly\n"
"asset_type: {}\n"
"asset_folder: {}".format(self.asset_type, self.asset_folder)
self.path = path
self.json = File(self.path + ".json")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment