diff --git a/gprofiler/main.py b/gprofiler/main.py index 6c971a07e..68a1fe831 100644 --- a/gprofiler/main.py +++ b/gprofiler/main.py @@ -1035,7 +1035,10 @@ def main() -> None: else None ) except APIError as e: - logger.error(f"Server error: {e}") + if "API key" in str(e): + logger.critical(f"Server error: {e}") + else: + logger.error(f"Server error: {e}") sys.exit(1) except RequestException as e: proxy = get_https_proxy() diff --git a/granulate-utils b/granulate-utils index 414c2585a..855b7715c 160000 --- a/granulate-utils +++ b/granulate-utils @@ -1 +1 @@ -Subproject commit 414c2585a8b646788e6d3cf715b638ab1a2f846c +Subproject commit 855b7715ce276ac323f6da5221953be8e18b865a