mirror of
https://github.com/usbharu/Hideout.git
synced 2026-08-31 19:07:59 +00:00
feat: HandlerMethodArgumentResolverでバインド失敗時のスタックトレースを両方出力するように
This commit is contained in:
@@ -40,11 +40,12 @@ class JsonOrFormModelMethodProcessor(
|
||||
|
||||
return try {
|
||||
modelAttributeMethodProcessor.resolveArgument(parameter, mavContainer, webRequest, binderFactory)
|
||||
} catch (ignore: Exception) {
|
||||
} catch (exception: Exception) {
|
||||
try {
|
||||
requestResponseBodyMethodProcessor.resolveArgument(parameter, mavContainer, webRequest, binderFactory)
|
||||
} catch (e: Exception) {
|
||||
logger.warn("Failed to bind request", e)
|
||||
logger.warn("Failed to bind request (1)", exception)
|
||||
logger.warn("Failed to bind request (2)", e)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user