Improve LoggingUnhandledExceptionMapper combination with CompletionExceptionMapper

This commit is contained in:
Chris Eager
2023-03-02 10:24:53 -06:00
committed by Chris Eager
parent 7de5c0a27d
commit 8a889516b0
3 changed files with 77 additions and 11 deletions

View File

@@ -16,6 +16,9 @@ import org.whispersystems.textsecuregcm.util.ua.UnrecognizedUserAgentException;
import org.whispersystems.textsecuregcm.util.ua.UserAgent;
import org.whispersystems.textsecuregcm.util.ua.UserAgentUtil;
/**
* Extends {@link LoggingExceptionMapper} to include the method and path in the log message, if they are available.
*/
public class LoggingUnhandledExceptionMapper extends LoggingExceptionMapper<Throwable> {
@Context