mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-02-27 17:00:50 +01:00
Create rest endpoint to delete api keys
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
|
||||
package sonia.scm.api;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
@@ -42,7 +42,7 @@ public class NotSupportedExceptionMapper implements ExceptionMapper<NotSupported
|
||||
|
||||
@Override
|
||||
public Response toResponse(NotSupportedException exception) {
|
||||
LOG.debug("illegal media type");
|
||||
LOG.debug("illegal media type", exception);
|
||||
ErrorDto error = new ErrorDto();
|
||||
error.setTransactionId(MDC.get("transaction_id"));
|
||||
error.setMessage("illegal media type");
|
||||
|
||||
Reference in New Issue
Block a user