From 129dfee8aa122aabe71cac654ee31c3c92649bce Mon Sep 17 00:00:00 2001 From: Adam Shedivy Date: Mon, 4 Nov 2024 08:34:15 -0600 Subject: [PATCH] update change log --- CHANGELOG.md | 1 + mapepire_python/client/websocket.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 56835e4..4e6a623 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Unreleased +- bump minimum python version to 3.10 ## [v0.1.7](https://github.com/Mapepire-IBMi/mapepire-python/releases/tag/v0.1.7) - 2024-09-16 diff --git a/mapepire_python/client/websocket.py b/mapepire_python/client/websocket.py index 9b392d6..c4473be 100644 --- a/mapepire_python/client/websocket.py +++ b/mapepire_python/client/websocket.py @@ -34,7 +34,7 @@ def connect(self) -> WebSocket: return create_connection( self.uri, header=self.headers, sslopt=self.ssl_opts, timeout=10 ) - except Exception as e: + except Exception: raise RuntimeError( f"An error occurred while connecting to the server: {self.db2_server.host}" )