Added timeout and limit to script entries
This commit is contained in:
@@ -8,15 +8,21 @@ class ParseErrorEntry(Entry):
|
||||
Entry type for parse and validation errors.
|
||||
"""
|
||||
|
||||
def __init__(self, content: str, error: str, id: str, timestamp: datetime):
|
||||
def __init__(
|
||||
self,
|
||||
id: str,
|
||||
timestamp: datetime,
|
||||
content: str,
|
||||
error: str,
|
||||
):
|
||||
"""
|
||||
Initialize a new parse error entry.
|
||||
|
||||
Args:
|
||||
content: Original content that failed to parse
|
||||
error: Error message describing the failure
|
||||
id: Unique identifier for this entry
|
||||
timestamp: Creation timestamp for this entry
|
||||
content: Original content that failed to parse
|
||||
error: Error message describing the failure
|
||||
"""
|
||||
super().__init__(id, timestamp)
|
||||
self._content = content
|
||||
|
||||
Reference in New Issue
Block a user