Closed kietheros closed 1 month ago
https://github.com/ghazi-git/drf-standardized-errors/blob/e4f20b656609059553b0dacde13d7d9f0099f24a/drf_standardized_errors/formatter.py#L112
If my code raises APIException(""), it will be ignored.
try: func() # could raise an Exception with empty message except Exception as ex: raise APIException(str(ex))
Thank you for raising the issue and identifying the root cause @kietheros. The fix will be part of the next release.
https://github.com/ghazi-git/drf-standardized-errors/blob/e4f20b656609059553b0dacde13d7d9f0099f24a/drf_standardized_errors/formatter.py#L112
If my code raises APIException(""), it will be ignored.