Skip to content

Commit

Permalink
Prepare release 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
capitancambio committed Apr 5, 2023
1 parent 789c809 commit ab1cecf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
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).

## [1.1.0] - 2023-04-05
### Changed
- Credential files error reporting to help users identify the credentials issues

## [1.0.9] - 2023-01-25
### Added
- Add `tentaclio.streams.api.make_empty_safe` to modify the standard behavoir of creating
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from setuptools.command.install import install


VERSION = "1.0.9"
VERSION = "1.1.0"

REPO_ROOT = pathlib.Path(__file__).parent

Expand Down
3 changes: 3 additions & 0 deletions src/tentaclio/credentials/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@


class TentaclioFileError(Exception):
"""Tentaclio secrets file errors."""

TENTACLIO_FILE = os.getenv(TENTACLIO_SECRETS_FILE, "<unknown file>")
ERROR_TEMPLATE = """
#########################################
Expand All @@ -30,6 +32,7 @@ class TentaclioFileError(Exception):
"""

def __init__(self, message: str):
"""Intialise a new TentaclioFileError."""
message = self.ERROR_TEMPLATE.format(message=message, tentaclio_file=self.TENTACLIO_FILE)
super().__init__(message)

Expand Down

0 comments on commit ab1cecf

Please sign in to comment.