Skip to content

Commit f7bcad8

Browse files
author
Jongmin Kim
authored
Merge pull request #155 from whdalsrnt/master
chore: add debugging code
2 parents 758a1c9 + a5adfdf commit f7bcad8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/spaceone/core/model/mongo_model/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1171,8 +1171,8 @@ def _stat_distinct(cls, vos, distinct, page):
11711171

11721172
try:
11731173
values.sort()
1174-
except Exception:
1175-
pass
1174+
except Exception as e:
1175+
_LOGGER.debug(f"[_stat_distinct] Failed to sort values: {e}")
11761176

11771177
if "limit" in page and page["limit"] > 0:
11781178
start = page.get("start", 1)

0 commit comments

Comments
 (0)