Commit dcc65dea authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Add param to catch fo fix failing SAST job

The SAST JS parser does not recognize the catch clause without
a parameter causing a syntax error
parent 3a23de9d
......@@ -41,7 +41,7 @@ export const isValidDate = dateString => {
return true;
}
return false;
} catch {
} catch (e) {
return false;
}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment