Skip to content

Commit e2cab24

Browse files
committed
[patch] Improve logging
1 parent 6533d69 commit e2cab24

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/mas/devops/sls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ def listSLSInstances(dynClient: DynamicClient) -> list:
1717
logger.info("There are no SLS instances installed on this cluster")
1818
return []
1919
except ResourceNotFoundError:
20-
# The LicenseService CRD has not even been installed in the cluster
20+
logger.info("LicenseService CRD not found on cluster")
2121
return []
2222
except UnauthorizedError:
23-
logger.error("Error: Unable to verify SLS instance(s) due to failed authorization: {e}")
23+
logger.error("Error: Unable to verify SLS instances due to failed authorization: {e}")
2424
return []
2525

2626

0 commit comments

Comments
 (0)