Skip to content

Commit

Permalink
Merge pull request #1655 from DSD-DBS/improve-t4c-lic-message
Browse files Browse the repository at this point in the history
refactor: Improve error msg for missing status in T4C lic-server
  • Loading branch information
MoritzWeber0 authored Jul 18, 2024
2 parents 725d123 + fd6c96c commit 49c3828
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ def __init__(self):
super().__init__(
status_code=status.HTTP_422_UNPROCESSABLE_ENTITY,
title="License server has no status",
reason="No status is available. This can happen during and after license server restarts.",
reason=(
"No status is available. This can happen during and after license server restarts. "
"The license information will be available when a client claims a license."
),
err_code="T4C_LICENSE_SERVER_NO_STATUS",
)

Expand Down

0 comments on commit 49c3828

Please sign in to comment.