Add better error message if context file gets corrupted

This commit is contained in:
Nick O'Leary
2020-10-06 15:42:52 +01:00
parent 5e63471983
commit af636870d4
2 changed files with 18 additions and 10 deletions

View File

@@ -176,6 +176,7 @@
"error-invalid-default-module": "Default context store unknown: '__storage__'",
"unknown-store": "Unknown context store '__name__' specified. Using default store.",
"localfilesystem": {
"invalid-json": "Invalid JSON in context file '__file__'",
"error-circular": "Context __scope__ contains a circular reference that cannot be persisted",
"error-write": "Error writing context: __message__"
}