Add necessary improvements and configs for grafana version 10.3.3 #396

Merged
navodzoysa merged 5 commits from Sasini_Sandamali/device-mgt-core-forked:master into master 5 months ago
There is no content yet.
Sasini_Sandamali added 1 commit 6 months ago
Sasini_Sandamali added 1 commit 6 months ago
Sasini_Sandamali changed title from WIP: Add necessary improvements and configs for grafana version 10.3.3 to Add necessary improvements and configs for grafana version 10.3.3 6 months ago
Sasini_Sandamali added 1 commit 5 months ago
navodzoysa requested changes 5 months ago
} catch (GrafanaManagementException e) {
String msg = "Error occurred while retrieving Grafana configuration";
log.error(msg, e);
throw e;
Collaborator

I don't see the point of catching and rethrowing the same exception here. If we already have the exception in the method signature there is no need to catch it and rethrow.

This can be corrected in 2 ways either create a new exception type or handle the GrafanaManagementException from the caller method without catching here. IMO 2nd approach is ideal.

I don't see the point of catching and rethrowing the same exception here. If we already have the exception in the method signature there is no need to catch it and rethrow. This can be corrected in 2 ways either create a new exception type or handle the GrafanaManagementException from the caller method without catching here. IMO 2nd approach is ideal.
Sasini_Sandamali marked this conversation as resolved
Sasini_Sandamali added 1 commit 5 months ago
Sasini_Sandamali added 1 commit 5 months ago
navodzoysa approved these changes 5 months ago
navodzoysa merged commit 01d76c6dbd into master 5 months ago

Reviewers

navodzoysa approved these changes 5 months ago
The pull request has been merged as 01d76c6dbd.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: community/device-mgt-core#396
Loading…
There is no content yet.