mirror of
https://github.com/sherlock-project/sherlock
synced 2025-02-16 12:38:27 +00:00
Fix parser regression (#2109)
This commit is contained in:
commit
c7f935099e
2 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
"$schema": "data.schema.json",
|
||||
"1337x": {
|
||||
"errorMsg": [
|
||||
"<title>Error something went wrong.</title>",
|
||||
|
|
|
@ -177,6 +177,8 @@ class SitesInformation:
|
|||
raise ValueError(
|
||||
f"Problem parsing json contents at '{data_file_path}': Missing attribute {error}."
|
||||
)
|
||||
except TypeError as error:
|
||||
print(f"Encountered TypeError parsing json contents for target '{site_name}' at {data_file_path}\nSkipping target.\n")
|
||||
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue