mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
additional debug info
This commit is contained in:
@@ -181,8 +181,10 @@ public abstract class AbstractREST {
|
||||
.getBasePath(applicationSettingsService.get().getPublicUrl());
|
||||
Api api = getClass().getAnnotation(Api.class);
|
||||
if (api == null) {
|
||||
return Response.status(Status.NOT_FOUND)
|
||||
.entity("Api annotation not found").build();
|
||||
return Response
|
||||
.status(Status.NOT_FOUND)
|
||||
.entity("Api annotation not found on class "
|
||||
+ getClass().getName()).build();
|
||||
}
|
||||
String apiPath = api.value();
|
||||
String apiListingPath = api.value();
|
||||
|
||||
Reference in New Issue
Block a user