aodn / nrmn-application

A web application for collation, validation, and storage of all data obtained during surveys conducted by the NRMN
GNU General Public License v3.0
4 stars 3 forks source link

Make sure exception appears in log for sumologic #1138

Closed utas-raymondng closed 1 year ago

utas-raymondng commented 1 year ago

Found the following unchecked Exceptions:

au.org.aodn.nrmn.restapi.controller.exception.ResourceNotFoundException au.org.aodn.nrmn.restapi.controller.exception.ValidationException software.amazon.awssdk.core.exception.SdkClientException software.amazon.awssdk.services.s3.model.NoSuchKeyException org.springframework.security.core.userdetails.UsernameNotFoundException java.time.format.DateTimeParseException java.time.format.DateTimeParseException au.org.aodn.nrmn.restapi.security.RequestRejectedException

A few of it will print log entry

Log level Message
Error Ingestion Failed
Error Could not download original file for job %s. %s"
Error key "%s" does not exist in bucket "%s". Could not download original file for job %s
Error Could not set user authentication in security context