Index: background.js |
=================================================================== |
--- a/background.js |
+++ b/background.js |
@@ -342,7 +342,7 @@ |
parseFilters(text) |
{ |
if (params.filterError) |
- return {errors: ["Invalid filter"]}; |
+ return {errors: [{reason: "Invalid filter", lineno: 1}]}; |
return { |
filters: text.split("\n") |
.filter((filter) => !!filter) |