Index: background.js |
=================================================================== |
--- a/background.js |
+++ b/background.js |
@@ -342,7 +342,7 @@ |
parseFilters(text) |
{ |
if (params.filterError) |
saroyanm
2018/01/29 11:44:48
Suggestion: copy pasting with the slight modificat
a.giammarchi
2018/01/29 17:36:32
not sure I understand this one. What do you mean?
saroyanm
2018/01/30 12:03:44
We will try to use part of filterValidation in ord
|
- return {errors: ["Invalid filter"]}; |
+ return {errors: [{reason: "Invalid filter", lineno: 1}]}; |
return { |
filters: text.split("\n") |
.filter((filter) => !!filter) |