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
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'Sasini_Sandamali/device-mgt-core-forked:master'
Deleting a branch is permanent. It CANNOT be undone. Continue?
WIP: Add necessary improvements and configs for grafana version 10.3.3to Add necessary improvements and configs for grafana version 10.3.3 6 months ago} catch (GrafanaManagementException e) {
String msg = "Error occurred while retrieving Grafana configuration";
log.error(msg, e);
throw e;
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.
01d76c6dbd
into master 5 months agoReviewers
01d76c6dbd
.