You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Aleksandar Vidakovic (Jira)" <ji...@apache.org> on 2022/02/06 01:37:00 UTC

[jira] [Updated] (FINERACT-1168) Integration Tests failure due to internal server errors should show server side failure stack trace

     [ https://issues.apache.org/jira/browse/FINERACT-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aleksandar Vidakovic updated FINERACT-1168:
-------------------------------------------
    Fix Version/s: 1.7.0

> Integration Tests failure due to internal server errors should show server side failure stack trace
> ---------------------------------------------------------------------------------------------------
>
>                 Key: FINERACT-1168
>                 URL: https://issues.apache.org/jira/browse/FINERACT-1168
>             Project: Apache Fineract
>          Issue Type: Improvement
>            Reporter: Michael Vorburger
>            Priority: Blocker
>             Fix For: 1.7.0
>
>
> IT failures like FINERACT-1167, already raised in FINERACT-927, are a PITA (impossible) to debug.
> This is an IT failure due to a #500 means "something internal went wrong on the server" - but we don't know what...
> To know what the problem was, the server should return the exception in the HTTP body of the 500 response. The IT should then capture that, and include it in the JUnit test failure.
> But in production, 500 errors should NOT show the stack trace - that is typically considered a security problem. So we need some env var / sys prop to enable it, just for debugging. Spring Boot probably actually already has some... knob, for this?
> [~ptuomola] thought this may interest you.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)