Skip to content

Commit

Permalink
chore: printStackTrace
Browse files Browse the repository at this point in the history
  • Loading branch information
alsdl0629 committed Mar 3, 2024
1 parent cf78a29 commit 0afd1ae
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ class ExceptionFilter(
try {
filterChain.doFilter(request, response)
} catch (e: DmsException) {
e.printStackTrace()
errorToJson(e.errorProperty, response)
Sentry.captureException(e)
} catch (e: Exception) {
e.printStackTrace()
when (e.cause) {
is DmsException -> {
errorToJson((e.cause as DmsException).errorProperty, response)
Expand Down

0 comments on commit 0afd1ae

Please sign in to comment.