diff --git a/src/mijnbib/mijnbibliotheek.py b/src/mijnbib/mijnbibliotheek.py index b696a34..635d472 100644 --- a/src/mijnbib/mijnbibliotheek.py +++ b/src/mijnbib/mijnbibliotheek.py @@ -315,6 +315,7 @@ def _open_account_loans_page(self, acc_url: str) -> str: except mechanize.HTTPError as e: if e.code == 500: # duh, server crashes on incorrect or nonexisting ID in the link + # TODO: looks like nonexisting id has been changed to 404. Update logic raise ItemAccessError( "Loans url can not be opened. Likely incorrect or " f"nonexisting account ID in the url '{acc_url}'"