File tree 2 files changed +3
-3
lines changed
src/main/java/org/test/consumer/service
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ repositories {
15
15
}
16
16
}
17
17
18
- ext. fineractVersion = ' 0.0.267-41719d25 '
18
+ ext. fineractVersion = ' 0.0.390-00e2880 '
19
19
20
20
dependencies {
21
21
implementation ' org.springframework.boot:spring-boot-starter-activemq'
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public List<EventMessageDTO> getMessages() {
30
30
eventMessages = convertToReadableFormat (messages );
31
31
} catch (ClassNotFoundException | NoSuchMethodException | InvocationTargetException |
32
32
IllegalAccessException e ) {
33
- log . error ("Unable to read message " , e );
33
+ throw new RuntimeException ("Unable to read messages " , e );
34
34
}
35
35
return eventMessages ;
36
36
}
@@ -43,7 +43,7 @@ public List<EventMessageDTO> getMessagesByType(String eventType) {
43
43
eventMessages = convertToReadableFormat (messages );
44
44
} catch (ClassNotFoundException | NoSuchMethodException | InvocationTargetException |
45
45
IllegalAccessException e ) {
46
- log . error ("Unable to read message " , e );
46
+ throw new RuntimeException ("Unable to read messages " , e );
47
47
}
48
48
return eventMessages ;
49
49
}
You can’t perform that action at this time.
0 commit comments