mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-05 21:47:48 +01:00
Fix: only log errors directly if exist
This commit is contained in:
@@ -325,7 +325,7 @@ export async function servicesFromKubernetes() {
|
||||
|
||||
return mappedServiceGroups;
|
||||
} catch (e) {
|
||||
logger.error(e);
|
||||
if (e) logger.error(e);
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user