Skip to content

Commit

Permalink
Error message
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-wilkins authored Oct 4, 2024
1 parent 7199d02 commit 61cbe3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sas/system/config/config_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def load_from_file_object(self, file):
raise Exception

except Exception:
raise MalformedFile("Malformed version in config file, should be a string of the form 'X.Y.Z'")
raise MalformedFile("Malformed version in config file, should be a string of the form 'X.Y.Z[(a|b|rc)n]'")

if "config_data" not in data:
raise MalformedFile("Malformed config file - no 'config_data' key")
Expand Down Expand Up @@ -245,4 +245,4 @@ def __setattr__(self, key, value):

def validate(self, key, value):
""" Check whether a value conforms to the type in the schema"""
return self._schema[key].validate(value)
return self._schema[key].validate(value)

0 comments on commit 61cbe3d

Please sign in to comment.